Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


If two threads call a static method at the same point of
time, what will happen?

Answers were Sorted based on User's Feedback



If two threads call a static method at the same point of time, what will happen?..

Answer / 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

If two threads call a static method at the same point of time, what will happen?..

Answer / ashutosh dhar

Nd if it is Synchronized then which thread to be choosen
depends upon the OS.

Is This Answer Correct ?    0 Yes 0 No

If two threads call a static method at the same point of time, what will happen?..

Answer / 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

More Core Java Interview Questions

How do you control extraneous variables?

0 Answers  


What are event-delegation model and event-inheritance model? Which is best?

1 Answers  


Who is the owner of java?

0 Answers  


In which language JVM (Java Virtual Machine) is implemented

5 Answers  


What is the difference between reader/writer and inputstream/output stream?

0 Answers  


explain how many oops concepts available in java with realtime scenarios?

1 Answers   TCS,


Does list maintain insertion order java?

0 Answers  


How many digits can a float hold?

0 Answers  


WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?

2 Answers  


How can I debug the Java security exceptions and AccessControlExceptions?

0 Answers   IBM,


Is sizeof a preprocessor?

0 Answers  


Explain serialization and deserialization in java?

0 Answers  


Categories