Which of the following lines allows a programmer to use the Scanner class in a Java program?

a) import java.util.Scanner;
b) using Scanner;
c) include Scanner;
d) include java.util.Scanner;
e) any of the above will allow the programmer to use the Scanner class

a) import java.util.Scanner;

Computer Science & Information Technology

You might also like to view...

A footer can be set to show on every page of the document except the first page

Indicate whether the statement is true or false

Computer Science & Information Technology

____ contain(s) formatting options for an object.

A. The Quick Access toolbar B. The Dialog Box Launcher C. Contextual tabs D. Commands

Computer Science & Information Technology