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


When you will synchronize your code?

Answers were Sorted based on User's Feedback



When you will synchronize your code?..

Answer / ranganathkini

synchronize is used on objects that will be used by
multiple threads to provide thread safety. It is used so
that concurrent threads get valid access to data to perform
their actions

Is This Answer Correct ?    1 Yes 0 No

When you will synchronize your code?..

Answer / devarathnam c,kotagudibanda(po

Hi... If your code requires "Thread-safty" ,and to avoiding
deadlocks,when u want maintain dataintegrity.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

When a thread terminates its processing, it enters into what state?

1 Answers  


What are the high-level thread states?

1 Answers  


types of exceptions

1 Answers  


In a multitiered application which tier is the browser in?

10 Answers   Adobe,


Why is string immutable in java?

0 Answers  


How would you create a button with rounded edges?

0 Answers  


On a computer that having single CPU, how multithreading concept can be achieved?

1 Answers   Zensar,


What is the difference between the session.update() method and the session.lock() method?

0 Answers  


What are the steps involved in developing an RMI object?

1 Answers  


What is the purpose of the wait() method?

0 Answers  


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

0 Answers  


What is the use of Semaphore?

3 Answers  


Categories