Page 1 of 1

About Question enthuware.ocpjp.v11.2.3338 :

Posted: Tue Jan 31, 2023 5:18 am
by yuir12
Hello, can you please explain why below answer is correct? Am assuming a variable needs to be passed to Consumer. Thanks

Consumer x = System.out::println;

Re: About Question enthuware.ocpjp.v11.2.3338 :

Posted: Tue Jan 31, 2023 6:51 am
by admin
You may go through this article for a detailed description: https://www.infoworld.com/article/34532 ... -java.html

Re: About Question enthuware.ocpjp.v11.2.3338 :

Posted: Wed Feb 01, 2023 12:24 am
by yuir12
got it, thanks!