Consider the following program.public class CircleArea{ static Scanner console = new Scanner(System.in); static final float PI = 3.14; public static void main(String[]args) { float r; float area; r = console.nextDouble(); area = PI * r * r; System.out.println("Area = " + area); }}To successfully compile this program, which of the following import statement is required?
A. import java.io;
B. import java.util;
C. import java.lang;
D. No import statement is required
Answer: B
Computer Science & Information Technology
You might also like to view...
The clone method has ________ parameters.
a. zero b. one c. two d. three
Computer Science & Information Technology
Which of the following is a protocol used by bridges to allow multiple physical paths to exist between them?
a. spanning tree b. source routing c. source routing transparent d. all of the above
Computer Science & Information Technology
Define broadcast domain.
What will be an ideal response?
Computer Science & Information Technology
Penetration tests are referred to as Level III assessments
Indicate whether the statement is true or false.
Computer Science & Information Technology