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
Q20: You cannot convert a GUI application into
Q21: How many inches is 12-point font?
A) 1/6
B)
Q22: Does an applet compile like any other
Q23: Which of the following methods does the
Q24: Given Graphics object graph, which statement can
Q26: Which applet method is called by the
Q27: What class must be extended when you
Q28: Which of the following sets the background
Q29: What HTML tags begin and end a
Q30: A JComboBox generates an ItemEvent.
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