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

Which is the class in java?

984


What is the differences between heap and stack memory in java? Explain

929


How do generics work in java?

953


Is main an identifier?

946


What is stream api in java8?

1075


How to find the largest value from the given array.

967


Which is illegal identifier in java?

1020


What does java stand for?

1043


how to open and edit XML file in Weblogic???

1930


Can we have a method name same as class name in java?

994


Is it possible for yielded thread to get chance for its execution again ?

964


What is a boolean used for?

1064


explain autoboxing in java?

939


Difference between process and thread?

990


How does hashset works in java?

1009