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 is the difference between the synchronized() & static
synchronized()?

Answer Posted / namrata

when a Thread enters a static synchronized method of a
given class, then no other Thread can enter another static
synchronized method of that class. But other threads might
execute any non-synchronized method, or a synchronized
instance method.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is final variable?

937


What is widening and narrowing in java? Discuss with an example.

1036


Is Java a dying language?

1076


5 Coding best practices you learned in java?

1009


What is the meaning of course?

1096


What is the difference between a switch statement and an if statement?

1088


Tell me are there implementations for sorting and searching in the java libarary?

1030


Can a vector contain heterogenous objects?

1063


What are the super most classes for all the streams?

2539


Discuss 2D arrays.

1042


Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..

2300


Does substring start with 0?

982


Explain the scope or life time of class variables or static variables?

984


What are advantages of using Java?s layout managers than windowing systems?

2367


What are scalar data types?

1059