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
Q5: GeneralPath method lineTo _.
A) draws a line
Q6: The Java statement:
g.draw3DRect(290, 100, 90, 55, true);
Q7: The fact that class Graphics is abstract
Q8: A general path is _.
A)a set of
Q9: Which of the following statements about arcs
Q9: The Java statement:
G.fillOval(290, 100, 90, 55);
A) Draws
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: The Graphics2D method(s)that determine(s)the color and texture
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