Multiple Choice
You can instruct a Graphics object named g to produce green output by using which of the following statements?
A) g.makeColor(Color.GREEN) ;
B) g.makeColor(GREEN.Color) ;
C) g.setColor(Color.GREEN) ;
D) g.setColor( GREEN. Color) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q30: To create an arc object named halfArc
Q31: The _ method creates a solid arc.<br>A)
Q32: The _ method requires four arguments and
Q33: import javax.swing.*; <br>import java.awt.*; <br>import java.awt.Color; <br>public
Q34: Match each term with the correct statement
Q36: What are the three arguments the BasicStroke
Q37: A rectangle is drawn with the following
Q38: The drawPolygon() method requires four arguments, two
Q39: Write the statement to create a Rectangle2D.Float
Q40: In the drawPolygon() method, what are the