About Question enthuware.ocpjp.v8.2.1747 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
pistriak
Posts: 1
Joined: Sun Apr 17, 2016 7:14 am
Contact:

About Question enthuware.ocpjp.v8.2.1747 :

Post by pistriak »

Hi. This line won't compile
List<Integer> al = Arrays.asList(100, 200, 230, 291, 43));

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

Re: About Question enthuware.ocpjp.v8.2.1747 :

Post by admin »

You are right. There is an extra closing bracket.
Fixed.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.

webber
Posts: 18
Joined: Mon Apr 01, 2013 8:38 am
Contact:

Re: About Question enthuware.ocpjp.v8.2.1747 :

Post by webber »

It is written:
(...)
System.out.println( *INSERT CODE HERE* );
(...)

But all the options have a ";" at the end, so none of them will compile.

al.stream().filter((i)->i<200).count();

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

Re: About Question enthuware.ocpjp.v8.2.1747 :

Post by admin »

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

Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests