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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1018


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

1004


What is RMI and what are the services in RMI?

1080


How to implement RMI in Java?

2833


Do we need to override service() method

1658


which type of objects reference will be given to client?

2435


What is meant by method chaining?

1091


What are the diff types of exception?

1003


what are RemoteObjects?

2685


What is Remote Server?

2146


What is aop(assepct oriented programing)?

995


What is scalable, portability in the view of J2EE?

2475


What is the difference between the string and stringbuffer classes?

1038


What restrictions are placed on the location of a package statement within a source code file?

1059


What are the design considerations while making a choice between using interface and abstract class?

1018