How many types of thread in java? give the name
Answer Posted / mishal tripathi
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 ? | 123 Yes | 15 No |
Post New Answer View All Answers
What are different exception types exceptions available in java ?
What do you mean by scope of variable?
What is the difference between yield() and sleep()?
Does set allows null in java?
What are the advantages of defining packages in java?
What is string immutability?
What is the use of flag?
What is the difference between sop and work instruction?
What is local declaration?
How is a variable stored in memory?
What is the default size of load factor in hashing based collection?
What is the definition of tree ?
What does indexof return in java?
What means public static?
What causes memory leaks in java?