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


Please Help Members By Posting Answers For Below Questions

What is the private method modifier?

580


What is isa relationship?

564


What is data type in computer?

521


What is an example of a constant variable?

533


What is http client in java?

520






What best practices should you follow while writing multithreaded code in java?

541


Are arrays primitive data types?

638


What do you mean by buffering?

556


What is composition in java?

730


What is double word?

533


What is passing parameters in java?

525


design an lru cache in java?

544


Can private class be inherited in java?

549


What is difference between word and integer?

596


What is meant by data hiding/encapsulation?

571