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
Q1: In the Java coordinate system,the point (0,0)is
Q2: A general path is _.<br>A)a set of
Q5: Method getFont of class Graphics returns _.<br>A)
Q6: The Java statement:<br>G.fillOval(290, 100, 90, 55);<br>A) Draws
Q9: Which of the following are valid Java
Q12: Class FontMetrics declares methods that can be
Q13: GeneralPath method lineTo _.<br>A) draws a line
Q18: Which of the following properly create and
Q19: The Graphics2D method(s)that determine(s)the color and texture