Multiple Choice
You can instantiate an empty Polygon object using which of the following statements?
A) Polygon someFutureShape = new Polygon(0,0,0,0) ;
B) Polygon someFutureShape = new Polygon() ;
C) Polygon someFutureShape = new Polygon(0) ;
D) Polygon someFutureShape = new Polygon(xPoints, yPoints, xPoints.length) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q19: You can improve the appearance of strings
Q20: The FontMetrics class methods return an integer
Q21: If you want to change graphic output on
Q22: In Java, whether a paint request is
Q23: A rectangle created with the clearRect() method
Q25: How do you use the drawOval() method
Q26: _ is the amount of space between
Q27: You can discover the fonts that are
Q28: When using the drawRoundRect() method, if you
Q29: Why would a programmer use the repaint()