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
Can we execute a program without main?
What is the significance of continue jump statement? Explain with an example.
Why webdriver is an interface?
Write a java program to generate fibonacci series ?
Is linkedlist thread safe in java?
What are implicit objects in java?
What is lambda in java?
Why collection doesn’t extend cloneable and serializable interfaces?
What is the difference between a loader and a compiler?
Which collection is thread safe in java?
Can static method access instance variables ?
Explain about automatic type conversion in java?
what is object-oriented programming in java?
Can we define a package statement after the import statement in java?
Can It is possible to synchronize the constructor of a Java Class?