
readLine() function is realated to which class?

readLine() is a method of java.io.Console class it is also available in java.io.BufferedReader.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.