Skip to content

Commit

Permalink
51
Browse files Browse the repository at this point in the history
  • Loading branch information
codershiyar committed May 11, 2020
1 parent 5c12894 commit 4db87c1
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions Lesson 51 - الدرس/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"configurations": [
{
"type": "java",
"name": "CodeLens (Launch) - App",
"request": "launch",
"mainClass": "Java.App",
"projectName": "java_c87954b4"
},
{
"type": "java",
"name": "CodeLens (Launch) - App",
"request": "launch",
"mainClass": "App",
"projectName": "java_c87954b4"
}
]
}
17 changes: 17 additions & 0 deletions Lesson 51 - الدرس/Java/App.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package Java;

public class App extends App2 {

@Override
public static void show_name(){
System.out.println("Name: Coder Shiyar");
}

public static void main(String[] args) {
App app = new App();
app.show_name();

}

}

10 changes: 10 additions & 0 deletions Lesson 51 - الدرس/Java/App2.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package Java;

public abstract class App2 {

public abstract static void show_name();

public static void show_message(){
System.out.println("رسالة من ميتود داخل كلاس ابستركت");
}
}
Binary file added Lesson 51 - الدرس/method_abstract.bmp
Binary file not shown.

0 comments on commit 4db87c1

Please sign in to comment.