How many types of thread in java? give the name
Answer Posted / tadveer
there are two types of thread
1.user thread
2.kernel thread
java works only in user thread , kernel thread handles by OS.
user thread categorized as
1.daemon thread(which are executing in background like Gabage collector,ThreadScheduler)
2.non daemon thread(created by the user)
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Why do you canvas?
How can I debug the Java security exceptions and AccessControlExceptions?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What is anti pattern in programming?
Can java object be locked down for exclusive use by a given thread?
What is a variable in java?
Why wait and notify methods are declared in object class?
What is string builder in java?
What happens if an exception is not handled in a program?
What is :: operator in java?
How do you sort an array in java?
Can we change the value of static variable?
What does flag mean in java?
Can a abstract class be declared final?
Explain the difference between throw and throws in java?