why do we use console class-Collection of common programming errors

I was reading about Console class, and in the very first line, it was written

New to Java 6 and when we are running Java SE 6 from command line, then we are typically using console class object

So, which means we are implicitly using console class through the command line ??

Then, start searching about the console class, i found Input from console class in java and Console link. I conclude some points

  1. Console class are only usable outside the IDE using System.console().readLine();
  2. Console class reads a password or passphrase from the console with echoing disabled using readPassword()

Although, we had Scanner class and BufferedReader class to read the input from console and that was added earlier than Java 5. So, only due to security reason, Console class added in Java 6. There are some other advantage to use this class.

I’m confused, so please anyone help me to know more about the console class.