About Question enthuware.ocpjp.v17.2.3744 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
marcoolivi
Posts: 4
Joined: Wed Jul 27, 2022 7:35 am
Contact:

About Question enthuware.ocpjp.v17.2.3744 :

Post by marcoolivi »

You should remove the commented out line, as it is shown like that.

Code: Select all

//Stream.of(cars).filter(c->c instanceof Sedan)
		.collect(Collectors.mapping(c->c.name), Collectors.joining(",")));       
This way the code does not compile, as the second line is out of the comment.

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v17.2.3744 :

Post by admin »

Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 35 guests