java8 : interface(default method, static method)

This commit is contained in:
haerong22
2021-02-08 23:18:01 +09:00
parent 31c0953d96
commit f52fbc692e
5 changed files with 78 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
package java8interface;
public class App {
public static void main(String[] args) {
Foo foo = new Default("kim");
foo.printName();
foo.printNameUpperCase();
Foo.printHello();
}
}