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
How do you do absolute value in java?
How do you include a string in java?
When would you use a static class?
Which browsers work with java?
What is ellipsis in java?
how to one war file class to another war file class?
Distinguish between a predicate and a function?
Explain about static imports in java?
Can we pass a primitive type by reference in java? How
What is the benefit of singleton pattern?
Why do we need autoboxing in java?
What is the meaning of variable in research?
How many bytes are there?
Why do we need strings in java?
How many bytes are a float?