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
Can a boolean be null java?
What steps are taken when the OS shifts from one-thread execution to another?
Is java good for beginners?
What does business logic mean?
What is heterogeneous in java?
when to use ArrayList and when to use HashMap in webApplication.
Is namespace same as package in java?
What do you understand by private, protected and public?
What is finalize()? Is finalize() similar to a destructor?
Explain how hashmap works?
What is the difference between Java1.4 and Java1.5
What is bufferedwriter?
What is finalize method?
What is the exact difference in between unicast and multicast object? Where we will use?
Can we override private method in java?