I'm making a console based application that will ask from the user ton enter a username and password, store them into an object as strings, and store the object into a reference based linked list.
Is there any way that when the user types his password it will appear as "*****" instead of "12345" while the system (obviously) reads "12345"?
I have a class with methods appropriate for user input.
System.out.println("Username: ");
String un = EasyIn.getString();
System.out.println("Password: ");
String pw = reader.getString();
System.out.println("Repeat Password: ");
String pwRepeat = reader.getString();
//and then go on to confirm that the passwords match and store them in the object etc