Multiple Choice
If graph holds a Graphics object, which of the following puts "CAT" starting at X = 20, Y = 50?
A) drawString("CAT", 20, 50) ;
B) graph.drawString(20, 50, "CAT") ;
C) graph.println("CAT") ;
D) graph.drawString("CAT", 20, 50) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q24: Which of the following is the default
Q25: A JComboBox generates an ItemEvent.
Q26: How many inches is 12-point font?<br>A) 1/6<br>B)
Q27: Which applet method is called by the
Q28: Which of the following sets the background
Q30: You cannot convert a GUI application into
Q31: The class Graphics provides methods for drawing
Q32: Which of the options in the accompanying
Q33: To draw a rectangle filled with the
Q34: The graphic in the accompanying figure is