![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
Which of these is used to read a string from the input stream? |
A. | get() |
B. | getLine() |
C. | read() |
D. | readLine() |
Answer» D. readLine() |
View all MCQs in
Java ProgrammingNo comments yet