Which of the following is an attribute of a class named Triangle?
a. SetBase() (assigns a value to the measurement of the base of a triangle)
b. SetHeight() (assigns a value to the measurement of the height of a triangle)
c. Area (the area of a triangle)
d. GetArea() (returns the area of a triangle to the calling module)
C
You might also like to view...
Searches in Windows Vista can run quickly because the search is done using a(n) ________ rather than searching through all files on the disk
Fill in the blank(s) with correct word
Which of the following is false?
a. Java SE 9 adds new static convenience factory methods to interfaces List, Set and Map that enable you to create small mutable collections. b. The collections returned by the convenience factory methods are not allowed to contain null values—these methods throw a NullPointerException if any argument is null. c. The iteration order is unspecified for Sets returned by the convenience factory methods. d. All of the above are true.