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
How finally used under exception handling?
What is the java virtual machine?
What are byte codes?
Are arrays static in java?
Describe the Big-O Notation.
Is sizeof a preprocessor?
What is an immutable class? How to create an immutable class?
What is comparable and comparator interface? List their differences
What is difference between variable declaration and definition?
What is the use of math abs in java?
What is module in oop?
What is the difference between path and classpath variables?
What is the super void?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
Can we declare main () method as non static?