Multiple Choice
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
Correct Answer:

Verified
Correct Answer:
Verified
Q22: _ are executable statements that inform the
Q23: The expression (double)(5 + 4) evaluates to
Q24: The value of the expression 5 +
Q25: If a = 4; and b =
Q26: The pair of characters // is used
Q28: The number of significant digits in a
Q29: Both System.out.println and System.out.print can be used
Q30: A value such as 'd' is called
Q31: The value of a variable may change
Q32: Given char ch; int num; double pay;