Hi. This line won't compile
List<Integer> al = Arrays.asList(100, 200, 230, 291, 43));
About Question enthuware.ocpjp.v8.2.1747 :
Moderators: Site Manager, fjwalraven
-
- Posts: 1
- Joined: Sun Apr 17, 2016 7:14 am
- Contact:
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1747 :
You are right. There is an extra closing bracket.
Fixed.
thank you for your feedback!
Paul.
Fixed.
thank you for your feedback!
Paul.
-
- Posts: 18
- Joined: Mon Apr 01, 2013 8:38 am
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1747 :
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();
(...)
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();
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1747 :
You are right. Fixed.
thank you for your feedback!
Paul.
thank you for your feedback!
Paul.
Who is online
Users browsing this forum: No registered users and 14 guests