Question: Modify the method of Exercise E18.15 so that the second array list can contain elements of a subclass. For example, if people is an
Modify the method of Exercise • E18.15 so that the second array list can contain elements of a subclass. For example, if people is an ArrayList
Data from exercise E18.15
Provide a static method void append(ArrayList
a, ArrayList
b) that appends the elements of b to a.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
