Complete the method, named countOccurs, in the class named ArrayOps.java. There are two parameters to this method: the first is an integer array, and the second parameter is a single integer.
This method counts the number of occurrences of the given integer (second) parameter within the array of integers. This integer count is the return value. For example, if the array contains four integers: 23, 31, 17, 23, and the second parameter is the value 23, then the value returned would be 2, as 23 occurs twice within that array. However, if the second parameter is the value 42, the value returned would be zero, as the array does not contain the integer 42.