I have an integer array crr_array and I want to count elements, which occur repeatedly. First, I read the size of the array and initialize it with numbers read
crr_array
private static void getRepeatedNumbers() {
int [] numArray = {2,5,3,8,1,2,8,3,3,1,5,7,8,12,134}; Set nums = new HashSet(); for (int i =0; i