Multiple Choice
Which Scanner class method reads a String?
A) readString()
B) nextString()
C) getString()
D) nextLine()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q20: What will be displayed after the following
Q21: What will be the value of z
Q23: What will be displayed as a result
Q24: Both character literals and string literals can
Q24: A Java program will not compile unless
Q26: What will be displayed as a result
Q27: Which of the following statements correctly creates
Q29: What will be displayed as a result
Q30: Which of the following cannot be used
Q35: Which of the following is not a