Solved

Consider the Following Code Snippet: Scanner in = New Scanner

Question 109

Multiple Choice

Consider the following code snippet: Scanner in = new Scanner(. . .) ;
In) useDelimiter("[^0-9A-Za-z]+") ;
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) Characters that are neither alphabetic nor numeric will be ignored.
D) Both alphabetic and numeric characters will be ignored.

Correct Answer:

verifed

Verified

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

Related Questions