hi all i need ur help in how i can .....
sort array using ,,,, 2 threads...
here is my coad
Code:
public class Sort { public static void main(String[] args) {
int[] array = {3, 4, 12, 6, 7, 2, 3, 23, 1, 0, -9};
int i;
for (i=0;i<array.length;++i) {
System.out.print(" " + array[i]); }
System.out.println("");
int[] result = new int[array.length];
// what i have to do here
for (i=0;i<result.length;++i) {
System.out.print(" " + result[i]);
}
System.out.println(""); }
}