When reading words with a Scanner object, a word is defined as ____. a. any sequence of characters consisting of letters and numbers only. b. any sequence of characters consisting of letters, numbers, and punctuation symbols only. c. any sequence of characters that is not white space. d. any sequence of characters consisting of letters only.

Respuesta :

Answer:

The answer is "Option c".

Explanation:

In java, the scanner class concept is used to take input from the user-end, in this concept first we import the package, which is defined in the util package in java. In this class, a series of character don't accept the white space, and other choices were correct, that can be explained as follows:

  • In option a, It includes various types of data using their suitable method.
  • In option b, It also includes symbols, latter, and numbers.
  • In option d, In string value, it accepts only characters.
ACCESS MORE