About Question enthuware.ocpjp.ii.v11.2.3338 :
Posted: Sun Jun 23, 2019 8:19 am
Why is answer 2 marked green (correct)?
This will not make
compile. I think answer should be "Consumer x ..." instead of " Consumer c ..." ?
Code: Select all
Consumer c = System.out::println;
Code: Select all
List.of(args).forEach(x);