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
Q9: Which of the following statements about arcs
Q10: The JColorChooser dialog allows colors to be
Q11: In the Java coordinate system, the point
Q12: Which of the following statements about the
Q13: Class FontMetrics declares methods that can be
Q14: Which of the following statements about the
Q15: A general path is _.
A) a set
Q16: The Graphics2D method(s) that determine(s) the color
Q17: Which of the following are valid Java
Q19: Consider the Java code segment below:
Polygon
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents