Java – What does “disabled echoing” means

consolejava

The readPassword() method of the
Console class has echoing disabled.

What's echo?

Best Answer

That means you can't see the characters while you are typing in the console. As you would normally do.

This way you can ask for a password on the commandline but nobody can read by eavesdropping on your computer screen.

This is the equivalent of a password textfield in the GUI world where you see stars * instead of the actual characters.