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()?

Answers were Sorted based on User's Feedback



What is the difference between the synchronized() & static synchronized()?..

Answer / sitaram

synchronizing is the process of ensuring the share resources
will be accessing only one thread at a time. There are two
types of synchronizations.
1. static synchronized(Class level)
2.synchronized.(Object Level).

Is This Answer Correct ?    12 Yes 1 No

What is the difference between the synchronized() & static synchronized()?..

Answer / 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

More Core Java Interview Questions

How do you convert int to char in java?

0 Answers  


What is thread start?

0 Answers  


What is abstract class? Explain

0 Answers  


Explain the scope of a variable.

0 Answers   TCS,


Can a class with private constructor be extended?

0 Answers  


How do I find and replace in word?

0 Answers  


can anyone explain me the concept of autoboxing?

3 Answers  


when everything can be done by static block then why do we use main method?.

2 Answers  


What are the advantages of java?

0 Answers  


What is a class component?

0 Answers  


Can long be null in java?

0 Answers  


Does string is thread-safe in java?

0 Answers  


Categories