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
Why is inheritance used in java?
Is there a case when finally will not execute?
What is a two-pass assembler?
What is application tier?
What is sortedmap in java?
Does java map allow duplicates?
What is meant by method overriding?
Is empty .java file name a valid source file name?
What is the differences between heap and stack memory in java? Explain
Can arraylist hold different types java?
Can you instantiate the math class in Java?
How do you classify Dialog Box?
What is final class?
What is private protected in java?
What are packages in java?