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?

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

Explain the use of volatile field modifier?

1135


Why do we use return statement?

1104


Explain the difference between extends thread vs implements runnable in java?

1195


Difference between static synchronization vs. Instance synchronization?

1172


I want to persist data of objects for later use. What’s the best approach to do so?

1002


Which is illegal identifier in java?

1139


What is console based application in java?

1085


Explain java code for recursive solution's base case?

1090


What does index mean in java?

1036


What is a boolean structure?

1133


Is singleton thread safe in java?

1021


How much ram can a 64 bit processor theoretically?

963


How can I become a good programmer?

1029


Write a java program that prints all the values given at command-line.

1056


What is a variable analysis?

1139