How many types of thread in java? give the name
Answer Posted / vivek
There are two types of threads in JAVA i.e.
1) User Thread :- This thread is created by user program
itself e.g. Main thread.
2) Daemon Thread:- This is JVM itself generated thread.
Example of this thread is Thread Scheduler and Garbage Collector
| Is This Answer Correct ? | 50 Yes | 12 No |
Post New Answer View All Answers
How do you clear a list in java?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What are 3 data types?
Where are the card layouts used?
What is the difference between multitasking and multithreading in Java
Does java list allow null?
Can a class be declared as protected?
java program with complete 4 oops concepts implemented example
What do you mean by constructor?
Why do we need array in java?
What do you mean by inner class in java?
Why do we need autoboxing in java?
What is a method in coding?
Difference between character constant and string constant in java ?
How many types of java are there?