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

Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1045


What is a clone?

1061


Write a singleton program?

1052


What’s jboss cache in short?

1123


What classes of exceptions may be caught by a catch clause?

1041


whats is mean by connectionpooling

2013


Name the class that is used to bind the server object with RMI Registry?

2170


What is local interface. How values will be passed?

1026


Java is fully object oriented languages or not?

999


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2209


Explain the steps in details to load the server object dynamically?

5108


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

1072


What does module-relative mean?

1165


What is a modular application? What does module-relative mean?

1063


Which container method is used to cause a container to be laid out and redisplayed?

1138