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

Explain about RMI Architecture?

1074


Why use POJO when I can use hashmap

2643


What is the difference between RMI and Corba?

2741


Describe activation process?

2655


Difference between hashmap and hashtable?

1156


what are memory considerations of jsp compares to other web components?

6528


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1823


What restrictions are placed on the values of each case of a switch statement?

1010


What is a clone?

1056


Can constructors be synchronized in java?

1119


What are the pros and cons of detached objects?

984


What is jboss?

1031


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

1112


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

1140


What is the purpose of the wait() method?

1190