mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-25 02:27:10 +08:00
Merge branch 'main' of github.com:Snailclimb/JavaGuide
This commit is contained in:
commit
8379c0bf77
@ -186,7 +186,7 @@ public class LambdaClass {
|
|||||||
}
|
}
|
||||||
//函数式接口参数
|
//函数式接口参数
|
||||||
static void lambdaInterfaceDemo(LambdaInterface i){
|
static void lambdaInterfaceDemo(LambdaInterface i){
|
||||||
System.out.println(i);
|
i.f();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user