What kind of figure does it draw?

Consider the code segment below:
```
int xValues[] = {100, 150, 200, 100};
int yValues[] = {30, 130, 30, 30};
g.drawPolyline(xValues, yValues, 4);
```

a. A rectangle.
b. A triangle.
c. A V with its corner at the top.
d. A square.


b. A triangle.

Computer Science & Information Technology

You might also like to view...

Appearing at the end of a letter, the name and/or job title of the author of the letter is known as the writer's identification or the writer's ________ block

Fill in the blank(s) with correct word

Computer Science & Information Technology

What tasks does the Startup Repair option perform?

What will be an ideal response?

Computer Science & Information Technology

A characteristic of color that controls its intensity.

What will be an ideal response?

Computer Science & Information Technology

Which of the following does a technician need to do before giving a PC, which has been confiscated for prohibited activity, to another department?

A. Identify prohibited activity on PC B. Document change of custody C. Report prohibited activity D. Preserve data

Computer Science & Information Technology