Skip to content

Commit 73ccd49

Browse files
author
turingfly
committed
Functional Programming
1 parent 11fce0c commit 73ccd49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Java-8/src/functionalProgramming/UsingVariablesInLambdas.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface Gorilla {
1919
public class UsingVariablesInLambdas {
2020
String walk = "walk";
2121

22-
void everyonePaly(boolean baby) {
22+
void everyonePlay(boolean baby) {
2323
String approach = "amble";
2424
// approach = "run";
2525
// instance variable
@@ -41,6 +41,6 @@ void play(Gorilla g) {
4141

4242
public static void main(String[] args) {
4343
UsingVariablesInLambdas u = new UsingVariablesInLambdas();
44-
u.everyonePaly(true);
44+
u.everyonePlay(true);
4545
}
4646
}

0 commit comments

Comments
 (0)