Java Exercise 9
Description:
Java applet implementing primality testing using multiple threads.
The primality testing algorithm is naive, but it runs fast enough for this humble applet.
Notice that you can input how many threads should run.
It took me a while to decipher when threads stop and other of their characteristics.
If you want to use any of this code, give me some credit!
Another part of this exercise was to create a package from related classes.
I did this with the classes in Exercise 3.
Source text
Back to Physics Simulation Personal Course Page