Create an application containing an array that stores eight integers. The application should call five methods that in turn:
public class ArrayMethodDemo {
publicstaticvoidmain (Stringargs[]) {
int[] numbers = {12,15,34,67,4,9,10,7};
int limit =12;
display(numbers);
displayReverse(numbers);
displaySum(numbers);
displayLessThan(numbers, limit);
displayHigherThanAverage(numbers);
}
publicstaticvoiddisplay(int[] numbers) {
// Write your code here
}
publicstaticvoiddisplayReverse(int[] numbers) {
// Write your code here
}
publicstaticvoiddisplaySum(int[] numbers) {
// Write your code here
}
publicstaticvoiddisplayLessThan(int[] numbers,intlimit) {
// Write your code here
}
publicstaticvoiddisplayHigherThanAverage(int[] numbers) {
// Write your code here
}
}