Examveda
Examveda

Which method is used to read a line of text from the keyboard in Java?

A. `nextLine()`

B. `printLine()`

C. `writeLine()`

D. `readLine()`

Answer: Option D


This Question Belongs to Java Program >> Input Output

Join The Discussion

Related Questions on Input Output