[ad_1]
Just set count to 0 at the end of every iteration.
System.out.println(count);
count = 0;
return arr;
[ad_2]
solved How to set a static integer to zero?
[ad_1]
Just set count to 0 at the end of every iteration.
System.out.println(count);
count = 0;
return arr;
[ad_2]
solved How to set a static integer to zero?