Question: Create a class containing an array that stores 10 integers. The class should call five methods that in turn (1) display all the integers, (2)
Create a class containing an array that stores 10 integers. The class should call five methods that in turn (1) display all the integers, (2) display all the integers in reverse order, (3) display the sum of the integers, (4) display all values less than a limiting argument, and (5) display all values that are higher than the calculated average value. Save the class as Question3.
Again, dont forget to create the application/project Question3Test Class that has the main method and an object to use the Question3 class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
