Question: Implement a generic class for a sequence of Java objects. You can store the objects in an array (as in Section 3.3) or in a
Implement a generic class for a sequence of Java objects. You can store the objects in an array (as in Section 3.3) or in a linked list (as in Section 4.5). The class should also implement the Iterable interface.
Step by Step Solution
3.51 Rating (164 Votes )
There are 3 Steps involved in it
Java has provided generic support in List interface Syn... View full answer
Get step-by-step solutions from verified subject matter experts
