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 the drawbacks for singleton class?
What is the benefit of abstract class?
Is hashset ordered?
What is stringbuffer in java?
Why is boolean important?
What 5 doubled?
What is the difference between a synchronized method and a synchronized block?
What is remote method invocation (rmi)?
Is arraylist sorted in java?
What is double data type?
What are the types of methods in java?
How do you sort an array in java?
Can a static block throw exception?
Which variable is the independent variable?
How would you use Bubble Sort to sort the number of elements?