In Jgrasp

Write your own array-based list class from scratch using generics.

 Implement an interface called that supports all list operations.public interface GeneralList,<E>, public void add (Eelement), ect….

Implement those interface methods in a class called The purpose of this class is to create a concrete class for storing SSN objects.

Create a class that stores a name, SSNumber, (9 digits only each digit must be in the range of 0 through 9 otherwise throw an exception in the SSN class which is caught in main()).

Demonstrate the classes in a file called This file should demonstrate all the operations in the interface.

Leave a Reply

Your email address will not be published.