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 invokes a threads run() method? : Java thread
Explain the reason behind ending a program with a system.exit(0)?
How do you use spaces in java?
Is int primitive data type?
Tell me about your ability to work under pressure
What is palindrome in java?
What is difference between java and java ee?
How many types of array are there?
What do you mean by Hash Map and Hash Table?
How do you insert a line break?
Which is faster set or list in java?
Why is java not 100% pure oops?
What does it mean that strings are immutable?
What is tochararray in java?
What is the basic concept of java?