How many types of thread in java? give the name
Answer Posted / shekhar
There are two types of threads in java....
1. User threads: Which are created by the user program
itself. The example is the Main thread etc...
2. Daemon Threads: These threads are generated by the JVM
itself. They are service provider threads which run in the
background and are not used to run the application code.
The example is the Garbage Collection thread.
| Is This Answer Correct ? | 28 Yes | 9 No |
Post New Answer View All Answers
Implement two stacks using a single array.
What is scope of a variable?
What are the different ways of creating thread?
What is another word for methodology?
What value is a variable of the string type automatically initialized?
How do you define a set in java?
What does ide stand for?
What is the difference between yielding and sleeping?
Why java is said to be pass-by-value ?
What are the important features of Java 11 release?
What are the basic concepts of OOPS in java?
What is final method in java?
What is bubble sorting in java?
What is the access scope of a protected method?
What is a condition in java?