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
Why a dead thread occurs?
What are the types of web technologies?
What is the declaration statement?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
What is the indent key?
Is it possible to write a regular expression to check if string is a number?
What is the purpose of java?
What is arguments in java?
How is final different from finally and finalize?
What are class types in java?
What is an empty class? What functionality does it offer in Java?
What do you understand by final value?
What is a line break?
Explain the features of interfaces in java?
How do you sort a string in java?