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
The correct answer is B It improves security The main reason why ConsolereadPassword returns a ch... View full answer
Get step-by-step solutions from verified subject matter experts
