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
What does the string method compareto () do?
Explain with example the concept of constant variable in java.
How variables are declared?
What is the platform?
What is the static keyword?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
Can a class have an interface?
What is a platform?
How can we create objects if we make the constructor private ?
Can you declare the main method as final?
Is there a way to increase the size of an array after its declaration?
What do you mean by default constructor in java?
How destructors are defined in java?
What is a class in java?
Why parameters should be passed by reference?