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 the private method modifier?
What is isa relationship?
What is data type in computer?
What is an example of a constant variable?
What is http client in java?
What best practices should you follow while writing multithreaded code in java?
Are arrays primitive data types?
What do you mean by buffering?
What is composition in java?
What is double word?
What is passing parameters in java?
design an lru cache in java?
Can private class be inherited in java?
What is difference between word and integer?
What is meant by data hiding/encapsulation?