Question: QUESTION 2 (a) We can construct new classes from existing classes using composition. Explain Composition, giving an example. (b) The Collections framework consists of Interfaces
QUESTION 2 (a) We can construct new classes from existing classes using composition. Explain Composition, giving an example.
(b) The Collections framework consists of Interfaces and Classes. Using the following Interfaces and Classes draw a diagram showing the correct hierarchy. Make sure to show implements and extends in your diagram.
Interfaces: List, Iterable, Collections
Classes: Linked List, Array List,
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
