This simple example defines two classes: SimpleThread and App. SimpleThread class is a subclass of the java.lang.Thread class. The App class provides a main() method that creates N (default N = 5) SimpleThread threads by a for loop. After its construction, the main() method starts each thread by calling the start() method.
-
Notifications
You must be signed in to change notification settings - Fork 0
javadanang/java-simple-threading
About
This is a very simple Java multithreading example.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published