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 static synchronize() metod
and synchronize() method?



What is the difference between static synchronize() metod and synchronize() method?..

Answer / suresh m

Non static synchronized method enables Object's Object Lock for the given Thread
while static synchronized method enables Class's Class Lock for given Thread

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

why Interface used?

0 Answers   HCL,


What all methods are used to prevent thread execution ?

0 Answers  


What is a parameter example?

0 Answers  


What Is Composition?

0 Answers   IBS,


Write the algorithm to check the number non-leaf nodes in a tree.

0 Answers   Amdocs,


is it mandatory to deaclare all variables public static fianl in interfaces?if i declare like in the below program, public interface A { public static final int I=0; int j=0; } in interface A,what is the difference between I,j?

2 Answers  


Why packages are used?

5 Answers  


What is thread pool in java with example?

0 Answers  


Where is the singleton class used?

0 Answers   Cap Gemini,


What is a substring of a string?

0 Answers  


How many types of equations are there?

0 Answers  


Explain java code for recursive solution's base case?

0 Answers  


Categories