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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is JTS?

2370


Java is fully object oriented languages or not?

990


Difference between loadclass and class.forname?

1043


Why a component architecture for the java platform?

1209


what is an isolation level?

2752


What modifiers may be used with an inner class that is a member of an outer class?

1060


What is message driven beam?

1063


Name three component subclasses that support painting?

1074


How can I avoid validating a form before data is entered?

999


Write a program to show synchronization?

1143


What is the infobus?

1084


Name three subclasses of the component class?

1101


Why are some of the class and element names counter-intuitive?

1140


What event results from the clicking of a button?

1242


Can you control when passivation occurs?

1060