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 is a local class in java?

579


Can we have more than one package statement in the source file?

634


What is a static method in java?

530


Why string is a class?

541


How many types of assembly languages are there?

518






What is the diffrence between inner class and nested class?

556


What is variable in java?

516


Is java hashset ordered?

572


What is a numeric string?

559


Write a program to show whether a graph is a tree or not using adjacency matrix.

588


How to optimize the javac output?

592


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

611


What is keyset in java?

647


What is package protected in java?

518


What is the base class of all exception classes?

577