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

Which javutil classes and interfaces support event handling?

0 Answers  


How JNDI is used in JMS ?

1 Answers  


What is there in browser that it supports web based applications of java or any other PL?

2 Answers  


how to search the pertical objects in a Collections

3 Answers   iGate,


What are skeletons and stubs and how they are generated?

2 Answers  


what is a non-repeatable read?

0 Answers  


What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?

1 Answers  


java is fully object oriented languages or not? why?

12 Answers   HCL,


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

0 Answers  


diff mvc1 and mvc2 wahts is mean by servlet chaining?

1 Answers   SolutionNET,


How to do registration form using struts and hibernate?

1 Answers  


Why do I get a duplicate name error when loading a jar file?

0 Answers  


Categories