rxjava : lambda

This commit is contained in:
haerong22
2022-03-15 13:02:08 +09:00
parent b807790cd1
commit bed29f3233
5 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package _01_lambda;
public class LambdaEx_01 {
public static void main(String[] args) {
ExInterface.print("interface static method test");
ExInterface exInterface = () -> System.out.println("implement abstract method");
exInterface.getMsg();
String result = exInterface.defaultMethod();
System.out.println("result = " + result);
}
}