Posts by Vicente Castillo • 1 point
1 post
-
0
votes5
answers18470
viewsA: delete repeated values java array
This is your solution. saludos since Mexico. int[] ja = {1, 2, 3, 3, 4, 5, 6, 6, 8, 9}; int[] res = Arrays.stream(ja).distinct().toArray(); for (int i = 0; i < res.length; i++) {…
javaanswered Vicente Castillo 1