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;
About Question enthuware.ocpjp.v11.2.3338 :
Moderator: admin
-
- Posts: 22
- Joined: Thu Dec 09, 2021 11:23 pm
- Contact:
-
- Site Admin
- Posts: 9802
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v11.2.3338 :
You may go through this article for a detailed description: https://www.infoworld.com/article/34532 ... -java.html
If you like our products and services, please help us by posting your review here.
-
- Posts: 22
- Joined: Thu Dec 09, 2021 11:23 pm
- Contact:
Re: About Question enthuware.ocpjp.v11.2.3338 :
got it, thanks!
Who is online
Users browsing this forum: No registered users and 2 guests