Array List Exercise ( LAB 4 )
--------------------------------------------------------------------------------------------------------
1) Create 1 class and 2 subclasses of that class . Implement appropriate polymorphic method. the method should print out something.
2) Creating an ArrayList of the specific superclass of above
3) Add 5 Item/Element/object of superclass/subclasses into the above ArrayList
4) Check and print the size of ArrayList
6) Check Index of an Item in Java Arraylist
7) Retriev Item from arrayList in a loop ( without using iterator interface )
8) Check ArrayList for an Item
9) Check if ArrayList is Empty
.
10) Remove an Item from ArrayList
11) Copy data from one ArrayList to another ArrayList in Java
12) Replace an element at a particular index
13) Clear all data from ArrayList
14) Convert from ArrayList to Array in Java
15) Traverse ArrayList in Java using iterator