In: Computer Science
Discuss the bag collection framework, which consists of the following classes:
Indentation in this group represents interface implementaion:
BagInterface
....ArrayBag
....LinkedBag
Indentation in this group represents inheritance:
AbstractCollection
....AbstractBag
........ArrayBag
............ArraySortedBag
........LinkedBag
Where are the more general (abstract) classes?
Where are the more specific (concrete) classes?
What are the benefits of this organization?
Does it have any detriments?