Which of the following is true?

A) Both the Set and List interfaces extend the Collection interface
B) Both the Set and Map interfaces extend the Collection interface
C) Both the List and Map interfaces extend the Collection interface
D) None of the above


A) Both the Set and List interfaces extend the Collection interface

Computer Science & Information Technology

You might also like to view...

Encapsulation means ______________.

a. that data fields should be declared private b. that a class can extend another class c. that a variable of supertype can refer to a subtype object d. that a class can contain another class

Computer Science & Information Technology

What type of arguments are ignored for betterness purposes on argument conversions?

A. default arguments B. explicit arguments C. local arguments D. optional arguments

Computer Science & Information Technology

A company is experiencing electrical surges from the utility company that are significantly higher than the normal rated voltage level.   Which of the following devices will best mitigate the power surge at each of the workstations?

A. ESD mat B. Power strip C. Extension cords D. Surge suppressor

Computer Science & Information Technology

The conversion control sequence ____ would cause an integer number to both display its sign and be left-justified in a field width of 10 spaces.

A. %-+10d B. %-10d C. %+10d D. %*10d

Computer Science & Information Technology