import java.util.Arrays;
public class MainClass {
public static void main(String[] a) {
int array[] = { 2, 5, -2, 6, -3, 8, 0, -7, -9, 4 };
Arrays.sort(array, 3, 7);
for (int i : array) {
System.out.println(i);
}
}
}
2
5
-2
-3
0
6
8
-7
-9
4