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

Why java doesn’t support multiple inheritances?

1105


What is the use of http-tunneling in rmi?

1103


Explain the difference between an Interface and an Abstract class?

1225


Why java is said to be pass-by-value ?

1083


What is matcher in java?

1041


What are the advantages of packages in java?

1733


What is casting in java programming?

1082


What is the full name of java?

1178


Define how does a try statement determine which catch clause should be used to handle an exception?

1250


How is garbage collection controlled?

1224


Can we override protected method in java?

1112


What happens when I use / and % with a negative numerator?

1077


Explain the use of sublass in a java program?

1078


What is formatted output in java?

1020


What are void methods?

1062