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 the major difference between linkedlist and arraylist in java?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What is a nested class?
why using interface interface ?
how to handle exceptions in ejb?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
Does set allows null in java?
What is the meaning of course?
Describe the various concepts related to object oriented programming (oop).
What is boolean law?
How do you take thread dump in java?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
Explain the purpose of garbage collection in Java?
What is the meaning of flag day?
What is collections framework?