結果 : java program to find number of occurrences in an array