Question: 2 sequence finder again create a class called findagain with...
2 Sequence Finder (Again)
Create a class called FindAgain with the static method
public static int locateAllSequenceLocations(int target, int array)
The method returns an array of integers with size at least 1. The first value in the output array
is number of occurrences of the target in the array. This number may be zero or greater. If the
number of occurrences is n, then the next n values in the output array are starting positions of the
n occurrence (in the order that they appear from left to right; that is, the positions are ordered
from smallest to largest).