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


What are synchronized methods and synchronized statements?

Answers were Sorted based on User's Feedback



What are synchronized methods and synchronized statements?..

Answer / tarunam verma

Syncronized methods are executed only after a lock is
acheived on the classes or objects specified in the methids
and after that the methids are executed

synchronized statements are the synchronised the bolck
containg the lock on some resource, statment in that block
are called synchronised statements

Is This Answer Correct ?    4 Yes 0 No

What are synchronized methods and synchronized statements?..

Answer / sainaveen

Syncronized methods are executed only after a lock is
acheived on the classes or objects specified in the methids
and after that the methids are executed

Synchronized methods are executed after lock is acieved on
class or object specified in the synchronized statement

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Advanced Java Interview Questions

How are the elements of a cardlayout organized?

0 Answers  


difference. between List and Set?

2 Answers   Campus Interaction, HCL, Infotech,


What is checkpoint? How to create checkpoints in our java projects?

1 Answers   ABC,


What is the difference between RMI and Corba?

0 Answers   Infotech,


What is synchronization?

6 Answers   Verizon,


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

1 Answers  


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

0 Answers  


the same information whether it will connect to the database or it will be used previous information?

0 Answers  


Are enterprise beans allowed to use thread.sleep()?

0 Answers  


what is singleton class? where it mainly used in the projects?

5 Answers   Satyam, Wipro,


Can I run seam outside of jboss as?

0 Answers  


What are skeletons and stubs and how they are generated?

2 Answers  


Categories