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 difference between null and void?

979


What are peerless components?

1090


what is aggregation in java?

1021


how to convert Java project into Maven ?

1059


What is use of static in java?

1176


What is the best definition for data?

972


Explain what pure virtual function is?

1027


Which is bigger float or double?

975


how we can create packages in java?

973


What are the different http methods?

1040


Which collection is thread safe in java?

997


What is JDBC Driver interface?How can you retrieve data from the ResultSet

2109


what do you mean by java annotations?

1139


describe synchronization in respect to multithreading? : Java thread

929


What is the argument in java?

928