Hi,
Anyone explain this question please?
About Question enthuware.ocpjp.i.v11.2.3073 :
Moderator: admin
-
- Posts: 10
- Joined: Wed Aug 08, 2012 5:00 am
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3073 :
As the explanation to this question says, "The forEach method expects a Consumer. Further, since strList is a list of Strings, strList.forEach expects a Consumer<String>. Therefore, none of the given options can be passed to the forEach invocation."
Let us know which part are you not clear about so that we can help.
Let us know which part are you not clear about so that we can help.
Who is online
Users browsing this forum: No registered users and 8 guests