By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,257 Members | 925 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,257 IT Pros & Developers. It's quick & easy.

prime number generation using language java

P: 2
i need a random prime number generator which will generate prime numbers for given range for eg 22222 to 99999

operating system : windows

language : java
Mar 23 '08 #1
Share this Question
Share on Google+
2 Replies


100+
P: 539
i need a random prime number generator which will generate prime numbers for given range for eg 22222 to 99999

operating system : windows

language : java
What have you done so far?

sukatoa
Mar 23 '08 #2

Expert 10K+
P: 11,448
Have a look at the Random and BigInteger classes and read what
methods they have available.

kind regards,

Jos
Mar 23 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.