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.


b. A triangle.

Computer Science & Information Technology

You might also like to view...

Data stored on an optical disc is estimated to last at least 30 years.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Trade winds are one of the beautiful features of island life in Hawaii. The following data represent total air movement in miles each day over a weather station in Hawaii, as determined by a continuous anemometer recorder. The period of observation is January 1 to February 15. 262818142640132227285042151316331816261116173710352021182818282113192519191529142554323422Classify these data into a grouped frequency distribution with the first class of 10-14.

A. Classes     Frequency 10-14       8 15-19       12 20-24       5 25-29       11 30-34       3 35-39       2 40-44       2 45-49       0 50-54       2 B. Classes     Frequency 10-14       8 15-19       13 20-24       5 25-29       11 30-34       3 35-39       1 45-49       0 50-54       2 C. Classes     Frequency 10-14       7 15-19       13 20-24       5 25-29       11 30-34       3 35-39       2 40-44       2 45-49       0 50-54       2 D. Classes     Frequency 10-14       7 15-19       14 20-24       5 25-29       11 30-34       3 35-39       2 40-44       3 50-54       2 E. Classes     Frequency 10-14       7 15-19       13 20-24       5 25-29       11 30-34       3 35-39       2 40-44       2 50-54       2

Computer Science & Information Technology