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

what is the difference b/w PUT and POST method to send data to the server

5 Answers   Mind Tree,


Can you declare a private method as static?

0 Answers   TCS,


what are the different non-access specifiers in java?

5 Answers  


Is alive method in java?

0 Answers  


What is default specifier ??? Use of default specifier ???

4 Answers   Cognizant, Syntel,


What is the use of :: in java?

0 Answers  


How do you find the absolute value?

0 Answers  


What is broken and continue statement?

0 Answers  


How applets will communicate with each other?

1 Answers  


What is a super class and how super class be called?

3 Answers  


What is difference between “==” and equals()?

1 Answers   IBM,


Which collection is thread safe in java?

0 Answers  


Categories