Array-Based List Class Java

Description

New solution updates


Question

In Jgrasp
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.

 

Solution ID:479958 | This paper was updated on 26-Nov-2015

Price : $35
SiteLock