
Generally all the texts given as input in a Java console application are
visible. When we read a password from a Java console application, it will
not be wise to display the input password. If we want to hide the password,
we can use the readPassword method java.io.Console class...