I\'m creating this simple login code for an ATM machine. You enter username and password and you logs in, that works just great. Since I\'m not connecting to a database or a
If you have JavaSE 6 or newer you can use Console.readPassword()