using  threads in java
write amultithreaded Java that outputs prime numbers .This program should work as follows:
the user will run the program and will enter a number in the command line , the program will then create a separate thread that outputs all the prime numbers less than or equal to the  number entered by the user.
I want you to help me write this program 
It's a homework indeed.
using  threads in java
===

write amultithreaded Java that outputs prime numbers .This program should work as follows:
the user will run the program and will enter a number in the command line , the program will then create a separate thread that outputs all the prime numbers less than or equal to the  number entered by the user.
I want you to help me write this program 
It's a homework indeed.