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


Please Help Members By Posting Answers For Below Questions

Can a boolean be null java?

920


What steps are taken when the OS shifts from one-thread execution to another?

1312


Is java good for beginners?

964


What does business logic mean?

945


What is heterogeneous in java?

900


when to use ArrayList and when to use HashMap in webApplication.

4590


Is namespace same as package in java?

936


What do you understand by private, protected and public?

996


What is finalize()? Is finalize() similar to a destructor?

909


Explain how hashmap works?

1005


What is the difference between Java1.4 and Java1.5

2252


What is bufferedwriter?

916


What is finalize method?

1043


What is the exact difference in between unicast and multicast object? Where we will use?

938


Can we override private method in java?

1044