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.
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *