Skip to content

Commit 8379c0b

Browse files
committed
Merge branch 'main' of github.com:Snailclimb/JavaGuide
2 parents 40bc9bb + 86dbcd6 commit 8379c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/new-features/java8-common-new-features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public class LambdaClass {
186186
}
187187
//函数式接口参数
188188
static void lambdaInterfaceDemo(LambdaInterface i){
189-
System.out.println(i);
189+
i.f();
190190
}
191191
}
192192
```

0 commit comments

Comments
 (0)