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

what is the messsage u r going to get from an objectoriented programing?

1897


What is meant by memory leak?

739


State differences between C and Java?

889


What is double in java?

738


What are annotations in java?

844


What is unsigned char?

843


Why for each loop is used?

760


Where are variables stored?

754


How can you read content from file in java?

807


Explain about wait() method?

790


What is an example of a conditional statement?

788


Can we change the value of static variable?

714


why Interface used?

741


What does string intern() method do?

836


How many characters is 2 bytes?

747