Question: estion 1 You are required to: a) Create an Array class which implements following interface. interface List { void add(0bject o, int index); 0bject get(int

estion 1 You are required to: a) Create an Array class which implements following interface. interface List \{ void add(0bject o, int index); 0bject get(int index); void remove(int index); int size(); \} The Array class must declare and create an array of type Object. The size of the array will be determined by an integer value passed to the the Array constructor. b) You are also required to create a tester class, which creates an instance of the Array class and illustrates to workings of each of the methods contained in the Array class. Note: You should populate the Array object with Integer objects and display the contents. Following this you should re-populate the Array objects with Double objects and display the contents
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
