How many types of thread in java? give the name
Answer Posted / tadveer
there are two types of thread
1.user thread
2.kernel thread
java works only in user thread , kernel thread handles by OS.
user thread categorized as
1.daemon thread(which are executing in background like Gabage collector,ThreadScheduler)
2.non daemon thread(created by the user)
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Explain what pure virtual function is?
When will we prefer to use set and list in java and why?
How are observer and observable used in java programming?
What are the advantages of exception handling in java?
How does thread synchronization occurs inside a monitor?
What does the string method compareto () do?
What is the function of http?
What is <> used for in java?
Why is a singleton bad?
What is class array in java?
What is defined as false sharing in the context of multithreading?
What is the abstract class?
What is the applet security manager, and what does it provide?
What is string builder?
What are the drawbacks of singleton class?