Which Scanner class method reads a String?

a. readString() c. getString()
b. nextString() d. nextLine()


b. nextString() d. nextLine()

Computer Science & Information Technology

You might also like to view...

Which of the following is true?

a. Pseudocode is used to describe an algorithm. b. Pseudocode is not an actual computer programming language. c. Pseudocode is used to describe executable statements that will eventually be translated by the programmer into a program. d. All of the above.

Computer Science & Information Technology

All exception classes inherit, either directly or indirectly, from ________.

a. class Error. b. class RuntimeException. c. class Throwable. d. None of the above.

Computer Science & Information Technology

A hyperlink field enables you to attach multiple files of different types

Indicate whether the statement is true or false

Computer Science & Information Technology

The and properties limit the values users can select in the Numer- icUpDown control.

a) Maximum, Minimum b) Top, Bottom c) High, Low d) Max, Min

Computer Science & Information Technology