Multiple Choice
Consider the code segment below:
int xValues[] = {100, 150, 200, 100};
Int yValues[] = {30, 130, 30, 30};
G.drawPolyline(xValues, yValues, 4) ;
What kind of figure does it draw?
A) A rectangle.
B) A triangle.
C) A V with its corner at the top.
D) A square.
Correct Answer:

Verified
Correct Answer:
Verified
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
Q15: The Java statement:<br>G.draw3DRect(290, 100, 90, 55, true);<br>A)
Q16: The Java statement:<br>G.fillOval(290, 100, 90, 55);<br>A) Draws
Q17: The fact that class Graphics is abstract
Q18: Which of the following properly create and
Q19: The Graphics2D method(s) that determine(s) the color