Which Scanner class method reads a String?
A) readString()
B) nextString()
C) getString()
D) nextLine()
Correct Answer:
Verified
Q19: A Java program will not compile unless
Q40: Given the declaration double r;, which of
Q41: Both character literals and string literals can
Q42: In Java the variable named total is
Q43: Which of the following is a valid
Q44: A variable's scope is the part of
Q47: Assuming that pay has been declared a
Q48: This is a variable whose content is
Q49: Which of the following does not describe
Q50: Which one of the following methods would
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents