Skip to content

Commit

Permalink
52
Browse files Browse the repository at this point in the history
  • Loading branch information
codershiyar committed May 13, 2020
1 parent 810f4be commit d8a14d5
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Lesson 52 - الدرس/Java/App.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package Java;

public class App extends App4 implements App2,App3 {

public static void main(String[] args) {
System.out.println(App2.APP_NAME);
App app = new App();
app.show_name("Coder Shiyar");
App4 app2 = new App4();
}

@Override
public void show_name(String name) {
// TODO Auto-generated method stub
System.out.println("Name: " + name);
}

}

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

public interface App2 {

public static String APP_NAME = "Coder Shiyar App";
public void show_name(String name);
}
5 changes: 5 additions & 0 deletions Lesson 52 - الدرس/Java/App3.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package Java;

public interface App3 {

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

public class App4 {

}

0 comments on commit d8a14d5

Please sign in to comment.