Create a Java program call“CS2_review_02” in BlueJ (see template “lab04b”) which has separatemethods for doing the following with arrays:
- Class variable (data field): declare a variable for an array ofintegers
- the “main” method which calls all other(following) methods
- Input arrays: lets users enter thearray size and values for each array element from thekeyboard
- Linear/Serial SEARCH: search the arrayto see if a given integer(key/value) is in the array
- Count: count in the array to see howmany times a given integer(key/value) appears
- Sum: find the sum of all elements inthe array and display it on the screen
- Average: find the average of allelements in the array and display
OR
PayPal Gateway not configured
ORPayPal Gateway not configured