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

Which sorting algorithm is best in java?

0 Answers  


What are Inner classes?

4 Answers  


What is the nested interface?

0 Answers  


Can we instantiate Interfaces?

7 Answers   Ericsson,


What are the steps involved to create a bean?

0 Answers  


why would you use a synchronized block vs. Synchronized method? : Java thread

0 Answers  


What is connection class in java?

0 Answers  


What is singleton class in ruby?

0 Answers  


What is java in simple terms?

0 Answers  


What is preflight request?

0 Answers  


What are constants and how to create constants in java?

0 Answers  


Explain your academic project?

2 Answers   Accenture, Levonsys, SDF, TCS, Tech Mahindra,


Categories