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 thread life cycle in java?
what is java
What data type is true or false?
Can we access private data outside of the class directly in java programming language? Why There is no runtime checking in java, which leads to access the private data directly outside of a class?
This is related to threads. I have a class with synchronized method m1(). Can I create different instances of this class and execute the m1() for different threads?
What is JVM ? use of JVM?
how does multithreading take place on a computer with a single cpu? : Java thread
we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }
Why is java architectural neutral?
in a console we r giving java <class name> if r pressing enter where it'll goes
can we override the main() method in java????
3 Answers Vimukti Technologies,
What is variable and its types?