how to sort a part of array in java code example
Example: java array sortieren
int[] intArray = {1, 5, 3, 7, 2, 9};
Arrays.sort(intArray);
System.out.println(Arrays.toString(intArray));
// Ausgabe: [1, 2, 3, 5, 7, 9]
int[] intArray = {1, 5, 3, 7, 2, 9};
Arrays.sort(intArray);
System.out.println(Arrays.toString(intArray));
// Ausgabe: [1, 2, 3, 5, 7, 9]