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
Q1: Which of the following is correct for
Q2: Which of the following statements about arcs
Q7: Which of the following statements about the
Q8: The JColorChooser dialog allows colors to be
Q8: Which of the following statements about the
Q9: Which of the following are valid Java
Q10: Which of the following statements is false?<br>A)
Q11: The Java statement:g.fillOval(290,100,90,55);<br>A)Draws a filled oval with
Q12: Class FontMetrics declares methods that can be
Q14: The fact that class Graphics is abstract