Question: Multi Threading
I need to solve the following question:
Input an array of 10 integers. Separate the odd numbers, even numbers, positive numbers and negative numbers by different threads.
I tried to solve it but I dont know how can we declare an array on thread.. where we add the brace [ ] and how we send an array element to main method????!!!
Pls help as soon as possible... Thanx a lot in advance