Create your listarray class that is functionally similar to


Create your ListArray class that is functionally similar to the formal Java ArrayList Utility class. here are the requirements

Should contain a default (no-args) constructor ListArray()

- Should contain an alternative (overloaded) constructor ListArray(int initialCapacity)

- Should contain a void add(Object obj) method

- Should contain a void add(int index, Object obj) method

- Should contain a Object remove(int index) method

- Should contain boolean contains(Object obj) method

- Should contain a Object get(int index) method

- Should contain an int indexOf(Object obj) method

- Should contain an boolean isEmpty() method

- Should contain a int size() method

- Should override the public String toString() method inherited from the

java.util.AbstractCollection class.

- Should override the public boolean equals(Object o) method inherited from the

java.util.List class.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Create your listarray class that is functionally similar to
Reference No:- TGS0827854

Expected delivery within 24 Hours