How many types of thread in java? give the name
Answer Posted / amir hassan
There are two types of Thread
1) Naming Thread
2)Thread Priority
1) Naming Thread
The Thread class provides methods to change and get the name of a thread.
2) Thread Priority
Each thread have a priority. Priorities are represented by a number between 1 and 10
> it Depend on the JVM.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why spring singleton is not thread safe?
Is a method a procedure?
What is the difference between Array and Hash Table?
What is string args [] in java?
What is lazy programming?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
Can we override protected method in java?
What is difference between array and arraylist in java?
What are thread safe functions?
Why do we need data structure in java?
How many functional interfaces does java 8 have?
Can private members of a base class are inheritable justify?
What will happen if static modifier is removed from the signature of the main method?
What is advantage of java?
What is the common usage of serialization?