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 :)
generated from mate-academy/jv-homework-template
-
Notifications
You must be signed in to change notification settings - Fork 632
mate-academy/jv-multithreading-intro
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published