Create and start in main()
method 2 threads: the first extending Thread
, and the second implementing Runnable
.
One of the threads should print out numbers from 0 to 20.
The other one should contain an infinite loop where the message "I am the daemon thread!" is printed to the console.
Please make this thread a daemon :)
forked from mate-academy/jv-multithreading-intro
-
Notifications
You must be signed in to change notification settings - Fork 0
Volodymyr-Mykychak/jv-multithreading-intro
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 100.0%