if am have 100 threads(for ex:T1,T2---T100) how we give
priority to these threads and how the system excute these
threads
Answers were Sorted based on User's Feedback
Answer / 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 |
Explain importance of inheritance in java?
Can we override protected method in java?
I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?
What is the difference between math floor and math round?
How to create com object in Java?
What is method Overloading in the perspective of OOPS?
class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....
what are the new features available in java 1.5 version?
3 Answers Accenture, Features, Motorola,
What is the difference between throw and throws?
does java support pointers?
What is the difference between synchronized and synchronized block?
What is the difference between == and === javascript?