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
Explain the use of volatile field modifier?
Why do we use return statement?
Explain the difference between extends thread vs implements runnable in java?
Difference between static synchronization vs. Instance synchronization?
I want to persist data of objects for later use. What’s the best approach to do so?
Which is illegal identifier in java?
What is console based application in java?
Explain java code for recursive solution's base case?
What does index mean in java?
What is a boolean structure?
Is singleton thread safe in java?
How much ram can a 64 bit processor theoretically?
How can I become a good programmer?
Write a java program that prints all the values given at command-line.
What is a variable analysis?