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 we applied start()method on a thread ,how does it know that to execute run()method on that object?

2 Answers   HCL,


How can a dead thread be restarted?

1 Answers   IBM, Wipro,


What method is used to create the daemon thread?

1 Answers  


Howmany interfaces are used in RMI?

2 Answers  


what's the main difference between unix os and linux os?

2 Answers   TCS,


Name the method to find, if a thread is active or not?

2 Answers  


What are the oops concept?

0 Answers  


What is the difference between static and non-static with examples?

0 Answers   HCL,


how convert java file to jar files?

10 Answers   Samsung,


Is the session factory thread safe?

0 Answers  


whether the connectionpooling used in struts?

2 Answers   SolutionNET,


whats is mean by class.forName() whats the return type of class

6 Answers   SolutionNET,


Categories