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
What is java literals?
What is a conditional statement explain with example?
What is serialization in java?
Can we extend private class in java?
What are the ways to instantiate the class class?
Can we override private method?
Is treeset sorted in java?
Can a class be private?
What is the difference between the boolean & operator and the && operator in java programming?
What is a blocking method in Java?
Is int primitive data type?
What is difference between call by value and call by reference?
What is nullpointerexception?
How will you get the platform dependent values like line separator, path separator, etc., ?
What is scope of a variable?