00:00

QUESTION 11

Given:
1Z0-809 dumps exhibit
and the code fragment:
1Z0-809 dumps exhibit
What is the result?

Correct Answer: B

QUESTION 12

Assume customers.txt is accessible and contains multiple lines. Which code fragment prints the contents of the customers.txt file?

Correct Answer: A

QUESTION 13

Which two code blocks correctly initialize a Locale variable? (Choose two.)

Correct Answer: DE

QUESTION 14

Given:
public class Canvas implements Drawable { public void draw () { }
}
public abstract class Board extends Canvas { }
public class Paper extends Canvas { protected void draw (int color) { }
}
public class Frame extends Canvas implements Drawable { public void resize () { }
}
public interface Drawable { public abstract void draw ();
}
Which statement is true?

Correct Answer: E

QUESTION 15

Given the code fragment: Stream> iStr= Stream.of ( Arrays.asList (“1”, “John”),
Arrays.asList (“2”, null)0;
Stream< nInSt = iStr.flatMapToInt ((x) -> x.stream ()); nInSt.forEach (System.out :: print);
What is the result?

Correct Answer: D