Vidyalelo
Java Programming · Q45

Input Output

Programming · Java Programming · question 45

Q45

Which of these is used to read a string from the input stream?

A.
get()
B.
getLine()
C.
read()
Answer
D.
readLine()

Answer: Option C

Solution

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