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
explain local datetime api in java8?
What are thread local variables?
What is null data type?
What is the difference between yielding and sleeping?
What is ascii format?
What do you mean by synchronized non access modifier?
Why collection doesn’t extend cloneable and serializable interfaces?
Difference between method overloading and overriding.
What is default locale java?
how its run?
What is operator overloading. Is it is supported in java?
Why do we create threads in java?
Why string is immutable or final in java
Can we synchronize static methods in java?
How do you read a char in java?