BufferedReader reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines. It can also read data from the files and console.It has two constructors
BufferedReader(Reader inputStream)
BufferedReader(Reader inputStream, int bufSize)
The first form creates a buffered character stream using a default buffer size. In the second, the size of the buffer is passed in bufSize.
The most common Syntax for BufferedReader is
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
This line will create a new BufferedReader object, which reads from System.in (standard input). The InputStreamReader part is used to convert System.in (which is an InputStream) to a Reader object (which can be used by BufferedReader).
After creating br, you can read input from the user:
String input = br.readLine();
That will allow the user to type in anything and hit <Enter> button, and have what they typed in stored in input.