Which of these is used to read a string from the input stream?
(a) get()
(b) getLine()
(c) read()
(d) readLine()
The question was asked in an interview.
This interesting question is from Reading Console Input in chapter I/O & Applets of Java
Select the correct answer from above options