Question: Why does Console readPassword() return a char array rather than a String? A. It improves performance. B. It improves security. C. Passwords must be stored

Why does Console readPassword() return a char array rather than a String?

A. It improves performance.

B. It improves security.

C. Passwords must be stored as a char array.

D. String cannot hold the individual password characters.

E. It adds encryption.

F. None of the above.

Step by Step Solution

3.48 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The correct answer is B It improves security The main reason why ConsolereadPassword returns a ch... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!