How many types of thread in java? give the name

Answer Posted / vivek

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 ?    50 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we access the non-final local variable, inside the local inner class?

516


Explain scope or life time of local variables in java?

559


What is linkedlist in java?

508


What is the difference between integer parseint and integer valueof?

549


What does the “static” keyword mean?

584






What is an interoperable application in java ?

586


How do you declare an empty string?

622


Can we pass a primitive type by reference in java? How

532


Is there any difference between nested classes and inner classes?

540


What is immutable state?

508


Explain naming conventions for packages?

582


What is multi level inheritance in java?

558


What is methods and methodology?

533


What is the difference between preemptive scheduling and time slicing?

593


How to use Media tracker Class.

646