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


Please Help Members By Posting Answers For Below Questions

Can you explain inner class.

596


Give some features of interface?

586


what is inner class in java?

628


What is a Null object?

892


What is the difference between Array and Hash Table?

547






What is function overriding and overloading in java?

583


What is flag in java?

535


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

599


Is arraylist ordered?

563


What is thread safe in java?

553


What is type inference in java8?

579


What is nested class?

567


What do you mean by append?

535


What is the difference between processes and threads?

536


What is methodological framework?

576