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 |
What is int lol?
What is volatile data type?
What is class array in java?
Is static variable stored in heap?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
Can a class be protected in java?
how to connect one jsp page to another jsp page????
Can you pass functions in java?
How to create a custom exception?
What is Map interface?
public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }
What are the differences between stringbuffer and stringbuilder?