if am have 100 threads(for ex:T1,T2---T100) how we give
priority to these threads and how the system excute these
threads
Answer Posted / anand kumar
we will allocate the priority using threadobject,setPriority
(int n) method....then according to the no given jvm will
exicute the threads
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is instanceof keyword?
Explain where variables are created in memory?
How hashset works internally in java?
Which list does not allow duplicates in java?
In java, how we can disallow serialization of variables?
What is difference between throw and throws ?
What is java console application?
Can you declare a private method as static?
What is difference between path and classpath in java?
If you do not want your class to be inherited by any other class. What would you do?
How does java pattern compile work?
What is static and final keyword in java?
How to sort array in descending order in java?
What is a function in programming?
Explain 5 features introduced in jdk 1.7?