If two threads call a static method at the same point of
time, what will happen?
Answer Posted / amitasite
If method doesn't access static member variable but only
local variable then there is no inconsistency.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is an array length?
Can we call the run() method instead of start()?
Is void a keyword in java?
Is object a data type in java?
what are the high-level thread states? : Java thread
What is meant by nested loop?
What are the rules for naming an array?
What is this keyword in java?
What is meant by memory leak?
what is the purpose of using rmisecuritymanager in rmi?
How is the marker interface used in Java?
Explain different forms of polymorphism?
What do you mean by pointer value and address?
Why is multiple inheritance not supported in java?
Is arraylist sorted in java?