Question: this is advance java. please when writing the code separate the class from the main. CT 2613 Advanced Java Assignment: Arraylist and Two-Dimensional Array Part

this is advance java. please when writing the code separate the class from the main.
CT 2613 Advanced Java Assignment: Arraylist and Two-Dimensional Array Part A: ArrayList Assignment Write a program that allows you to enter a series of numbers (ints). Each time a new number is entered, add it to an ArrayList. Let the user stop the data entry by entering a -1 When data entry is done, display the contents of the list using your own for loop. (or for-each) Also, calculate and display the sum and the average of the elements in the list Remember that you can't store int values directly in an ArrayList -you have to use Integer (wrapper class) to declare your ArrayList. This won't work: ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
