1 write a java application that asks the user how many numbers wants stored in a one 5346982
1) Write a Java application that asks the user how many numbers wants stored in a one-dimensional array. The program should have the following methods:
a. getTotal: The method should accept a one-dimensional array as its argument and return the total of the values in the array.
b. getAverage: The method should accept a one-dimensional array as its argument and return the average of the values in the array.
c. getHighest: The method should accept a one-dimensional array as its argument and return the highest value in the array.
d. getLowest: The method should accept a one-dimensional array as its argument and return the lowest value in the array.
The program should demonstrate all the methods.