Vidyalelo
Java Programming · Q8

Input Output

Programming · Java Programming · question 8

Q8

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

A.
`nextLine()`
B.
`printLine()`
C.
`writeLine()`
D.
`readLine()`
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board