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 is java hashmap implemented?
What is an i/o filter?
Is java ee a framework?
Can we have try block without catch block?
What are heterogeneous objects?
What is mnemonic code?
What is role of void keyword in declaring functions?
What is package protected in java?
What are the drawbacks of singleton class?
What is the properties class in java programming?
How would you convert bytes to string?
Can a static method be final?
Why do we use variables?
Does java vector allow null?
Can we create a constructor in abstract class?