If two threads call a static method at the same point of
time, what will happen?
Answer Posted / terlis
if the method is not synchronised, two threads can acees the same method at the same time and there will be inconsistency.
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the maximum size of hashmap in java?
What is the equal sign?
Explain java code for recursive solution's base case?
What is the use of put method?
Can the garbage collection be forced by any means?
What is procedure overloading?
What if static is removed from main method?
How can a gui component handle its own events in java programming?
What is the maximum size of a string in java?
is it possible to instantiate the math class?
What is nextline method in java?
What is difference between static class and singleton pattern?
What is pre increment and post increment in java?
Difference between java and javascript
explain copyonwritearraylist and when do we use copyonwritearraylist?