Examlex

Solved

Consider the Following Code Snippet: Scanner in = New Scanner

question 11

Multiple Choice

Consider the following code snippet: Scanner in = new Scanner(. . .) ;
) . .
If (in.hasNext() )
{
Throw new IOException("End of file expected") ;
}
Which of the following statements about this code is correct?


Definitions:

Related Questions