write a java program.Create a thread named NumberSet to generate a set of random numbers. create a thread EvenThread which uses the NumberSet thread to find the sum of all even numbers. create another thread OddThread that also uses the NumberSet thread to find the sum of all odd numbers among the numbers generated by the NumberSet thread. Write a driver class to demonstrate the multithreading program.
Answers
Answered by
0
Answer:
ok i solve this question after some time.
Explanation:
if my answer is correct please give me thanks and give me 5 star and me as brilliant.And follow me.
Similar questions