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 invokes a threads run() method? : Java thread

738


Explain the reason behind ending a program with a system.exit(0)?

769


How do you use spaces in java?

705


Is int primitive data type?

714


Tell me about your ability to work under pressure

1934






What is palindrome in java?

721


What is difference between java and java ee?

739


How many types of array are there?

715


What do you mean by Hash Map and Hash Table?

776


How do you insert a line break?

661


Which is faster set or list in java?

760


Why is java not 100% pure oops?

794


What does it mean that strings are immutable?

824


What is tochararray in java?

676


What is the basic concept of java?

743