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
What is used of static keyword in java?
Which variable is the independent variable?
How is treeset implemented in java?
What are the important features of Java 8 release?
What is a double vs float?
What is the destroy method?
How do I get 64 bit java?
Should database connections be singleton?
Explain the difference between arraylist and linkedlist in java?
When do you call copy constructor?
Why do we need singleton?
Can we sort arraylist in java?
Where is singleton pattern used?
List the different types of classloaders in java.
How do I start learning java?