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 main differene between synchronize() method and
Synchronize{}block?

Answer Posted / rupak

Synchronize{}block is use to Synchronize the block of
statements.
synchronize() keyword is useful to synchronize an entire method.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is method overriding in java ?

1113


Give a brief description of java socket programming?

904


Is it possible to compare various strings with the help of == operator? What are the risks involved?

1017


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

892


What do you understand by java virtual machine?

1120


What is the primary benefit of encapsulation?

1006


Is it possible to use string in the switch case?

990


What is the basic difference between string and stringbuffer object?

1021


What does three dots mean in java?

1058


Why heap memory is called heap?

986


How use .contains in java?

1119


Is a method a procedure?

985


Which is illegal identifier in java?

1015


What are the supported platforms by java programming language?

999


What is a generic type?

951