Make in java programming Receive a piece of text and a comparison string, list all occurrences of the comparison string in the text, and count Tip 1: Make the following method for the main program to call, and return the hay string, how many times the needle string appears int location = stringHay.indexOf(stringNeedle, intFromLocation) It can be searched from the intFromLocation position of the stringHay string, and returns the first stringNeedl.