1Z0-816 - Section Tests (10) Streams (Lambda Operations)

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

Moderator: admin

Post Reply
ewebxml
Posts: 77
Joined: Sun Jun 30, 2013 10:04 pm
Contact:

1Z0-816 - Section Tests (10) Streams (Lambda Operations)

Post by ewebxml »

I hope I am posting this question in the correct area.
For [1Z0-816] OCP 11 Programmer 2,
Individual Tests 10 - Streams (including Lambda Operations)
For the section test 10 (which contains 10 questions) should one assume, that the correct import statements already exist at the top of the class.

For example

Code: Select all

import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
Meaning, without the correct import statements, the code will not compile.
Question: Should one assume that the correct import statements have been added even though they do not appear in the exam?

Thank You.
()()()

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

Re: 1Z0-816 - Section Tests (10) Streams (Lambda Operations)

Post by admin »

Yes, appropriate imports are to be assumed unless the question is about import statements.

BTW, please mention the question id so that we can look it up. Section tests show questions randomly.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests