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

Is java jre still free?

749


Can we override private methods?

788


What about abstract classes in java?

851


What is temp in java?

794


Can we print null in java?

809


What are different access specifiers in java? Explain

860


What does serializing data mean?

751


In a container there are 5 components. I want to display all the component names, how will you do that?

1895


If I only change the return type, does the method become overloaded?

746


What is static and final keyword in java?

791


What are the data types supported by java?

781


Is a string literal?

763


What is this keyword used for?

901


What is a blocking method in Java?

857


What are some examples of variable costs?

733