Question: PP 13.2 Modify the Magazine Rack program presented in this chapter by adding delete and insert operations into the MagazineList class. Have the Magazine

PP 13.2 Modify the Magazine Rack program presented in this chapter by adding delete and insert operations into the MagazineList class. Have the Magazine class implement the Comparable interface, and base the processing of the insert method on calls to the compareTo method in the Magazine class that determines whether one Magazine title comes before another alphabetically. In the driver, exercise various insertion and deletion operations. Print the list of magazines when complete.
Step by Step Solution
3.43 Rating (162 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
