How to read input from console in Java

How to read Console Input in java
There are 3 different ways to read input from console in java. We can read input from console by using any one of the following Class. Scanner Class BufferedReader Class Console Class Read Console Input using Scanner Class Possibly this…