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
Can we access the non-final local variable, inside the local inner class?
Explain scope or life time of local variables in java?
What is linkedlist in java?
What is the difference between integer parseint and integer valueof?
What does the “static” keyword mean?
What is an interoperable application in java ?
How do you declare an empty string?
Can we pass a primitive type by reference in java? How
Is there any difference between nested classes and inner classes?
What is immutable state?
Explain naming conventions for packages?
What is multi level inheritance in java?
What is methods and methodology?
What is the difference between preemptive scheduling and time slicing?
How to use Media tracker Class.