(Solved):Your assignment is to create a class called Numbers in a file called NumberCollection.java. (there is no main method in this class). A class NumberCollection has an array of integers and a count (i… View Answer…

 

Question

Your assignment is to create a class called Numbers in a file called NumberCollection.java. (there is no main method in this class). A class NumberCollection has an array of integers and a count (integer) as instance variables. The variable count keeps track how many integers are stored in the array. The variable name for the array of integers is numberArray. Note: You need to distinguish the array size (capacity) and

Scroll to top