Multiple Choice
Which import statement allows for the use of the Rectangle class?
A) import java.geom.Rectangle2D;
B) import java.geom.Rectangle;
C) import java.geom.RectangularShape;
D) import java.awt.Rectangle;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: What is the name of the =
Q7: In Java, a comment on a line
Q8: Which class is part of the java.lang
Q9: Which of the following declares a variable
Q10: The Java compiler ignores any text between
Q12: Which of the following represents a method
Q13: Input to a method, enclosed in parentheses
Q14: To use a class in another package
Q15: What is the declared return type for
Q16: "System.out" is an example of which class?<br>A)String<br>B)Println<br>C)System<br>D)PrintStream