Skip to content

javadanang/java-simple-threading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Java simple threading

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.

About

This is a very simple Java multithreading example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages