Select all the true statements from the following.

Options
- AbstractSet extends AbstractCollection
- AbstractList extends AbstractCollection
- HashSet extends AbstractSet
- Vector extends AbstractList
- All of the above


CORRECT ANSWER : All of the above

Discussion Board
AbstractClass

All of the above is true as they extend each other and closely associated with each other. These are support methods and extends each other to utilize their methods and having additional functionalities overall. All these classes provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface. As the extension only increases the capability of a class to use various methods.

Rohit Sharma 07-27-2014 11:47 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement