Question 102 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question 102 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question

Given the code fragment:

public static void main(String[] args) {
Console console = System.console();
char[] pass = console.readPassword ("Enter passwor
String password = new String(pass); // line n2

# // line nl

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.