Finds prime and composite numbers in a set of integers between 2 and a number specified by the user in a single-threaded method, an unbounded thread, a bounded threadpool, or a stream.
Open Driver.java in your desired IDE to run the project.
Position yourself in the project folder and run the following commands:
javac Driver.java
java Driver