Multiple Choice
Which of the following statements about the Graphics object is true?
A. The Graphics object is an argument to class Component's repaint method.
B. The Graphics object is instantiated by the user.
C. The Graphics object is the argument to a lightweight GUI component's paintComponent method.
D. The Graphics class is abstract.
E. The Graphics object manages a graphics context.
A) A, C, E.
B) C, D, E.
C) A, B, D, E.
D) All are true.
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Consider the Java code segment below: <br>Polygon
Q4: In the Java coordinate system, the point
Q5: Method getFont of class Graphics returns _.<br>A)
Q6: A general path is _.<br>A) a set
Q7: Which of the following statements about the
Q9: Which of the following are valid Java
Q10: Which of the following statements is false?<br>A)
Q11: The JColorChooser dialog allows colors to be
Q12: Class FontMetrics declares methods that can be
Q13: GeneralPath method lineTo _.<br>A) draws a line