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

How is java hashmap implemented?

745


What is an i/o filter?

1137


Is java ee a framework?

694


Can we have try block without catch block?

765


What are heterogeneous objects?

761






What is mnemonic code?

748


What is role of void keyword in declaring functions?

776


What is package protected in java?

707


What are the drawbacks of singleton class?

751


What is the properties class in java programming?

712


How would you convert bytes to string?

725


Can a static method be final?

737


Why do we use variables?

675


Does java vector allow null?

701


Can we create a constructor in abstract class?

739