Which of the following statements about the Java 2D API is true?
A) A Graphics2D object is instantiated to draw Java 2D figures.
B) Class Graphics2D is a subclass of class Graphics.
C) To access Graphics2D capabilities, cast the Graphics reference passed to paintComponent to a Graphics2D reference.
D) All of the above are true.
Correct Answer:
Verified
Q7: The Java statement:
G.fillOval(290, 100, 90, 55);
A) Draws
Q8: Which of the following is correct for
Q9: Which of the following statements about arcs
Q10: The JColorChooser dialog allows colors to be
Q11: In the Java coordinate system, the point
Q13: Class FontMetrics declares methods that can be
Q14: Which of the following statements about the
Q15: A general path is _.
A) a set
Q16: The Graphics2D method(s) that determine(s) the color
Q17: Which of the following are valid Java
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents