Solved

Consider the Following Code Snippet: Scanner in = New Scanner

Question 78

Multiple Choice

Consider the following code snippet: Scanner in = new Scanner(. . .) ;
In) useDelimiter("[^0-9]+") ;
What characters will be ignored and not read in using this code?


A) Only alphabetic characters will be ignored.
B) Only numeric characters will be ignored.
C) Only non-alphabetic characters will be ignored.
D) Only non-numeric characters will be ignored.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions