The Code-Bin
Prime Numbers
Posted by: Justin Chan | September 26, 2010 @ 11:24pm

Java Code



Syntax Highlighting





Author Comments
Interestingly, using an Array can crunch numbers up to 10,000,000 but using an ArrayList cannot. Using a for-loop without any collections can crunch numbers up to the largest int. Why is this so?
Rating


4.49 / 8
55 Votes
http://codebin.yi.org/862
page generated in 0.00 seconds