ReadLine() function is used to take the input from user in string format.

5 Users have rated as useful.
Login to rate this answer.
The readLine method of class Datainputstream allows us to read a string data from keyboard.

1 User has rated as useful.
Login to rate this answer.
When you are using BufferedReader & accepting the value or any line from the keyboard then all are store in a buffer memory where the buffer read that line using the ReadLine() method. if you are not using the BufferedReader then only using system.ReaLine() method then this ReadLine() method will read the character one by one using ReadLine() method.
Login to rate this answer.
ReadLine() method is use to read the data line by line.
Login to rate this answer.
It will read the data from the keyboard but line by line not character by character.
Login to rate this answer.
Actually the readLine() method will reads the data through the bufferdReader object. It reads only one line of data through keyboard. We can't enter the multiple lines of data at runtime.
This is the main functionality of the readLine() method.
Login to rate this answer.