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 is a local class in java?
Can we have more than one package statement in the source file?
What is a static method in java?
Why string is a class?
How many types of assembly languages are there?
What is the diffrence between inner class and nested class?
What is variable in java?
Is java hashset ordered?
What is a numeric string?
Write a program to show whether a graph is a tree or not using adjacency matrix.
How to optimize the javac output?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
What is keyset in java?
What is package protected in java?
What is the base class of all exception classes?