Java Program

 

Purpose of this program:  

       NOTE*** Use System.out.printf ONLY to do all printing  *****
       
1     - Create a Java program with a method named: theArrayList, that will:
   - Create an ArrayList name theList of Object data type.
   - Add the following data: 123, "Java", 3.75, "Summer C", 2021
 into the theList data structure.
   - Display all data in the theList data structure.
   - Delete second and fifth records from the theList data structure.
   - Display all data left in the theList data structure.