In Java Language, Thank You
Problem 3: Write a program and declare an array containing 4 elements of integers. Ask the user to enter the numbers into the array.
Your program should contain the following methods:
1) Display: to print the elements of the array.
2) Add: to add numbers entered by the user to the array.
3) Average: to calculate the average of the array elements.
4) Even_odd: to count the number of even and odd values in the array.