Array-Based List Class Java

In Jgrasp

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

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

 Implement an interface called CommonList.java that supports all list operations.public interface GeneralList,, public void add (Eelement), ect….
Implement those interface methods in a class called SSNList.java. The purpose of this class is to create a concrete class for storing SSN objects.
Create a SSN.java 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 SSNDemo.java. This file should demonstrate all the operations in the interface.

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER