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()?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is foreach loop in java?

1013


Can main() method in java can return any data?

1180


When will we prefer to use set and list in java and why?

961


How do you convert bytes to character in java?

997


What is the integer of 16?

976


Is jdk required on each machine to run a java program?

1285


What is the difference between yielding and sleeping?

1109


What is a method in coding?

1052


What is an example of procedure?

1035


what is daemon thread and which method is used to create the daemon thread? : Java thread

971


What are disadvantages of java?

1000


Why method overriding is used?

1095


What is the scope or life time of instance variables?

1115


What two classes are used to read data only?

1098


What is the benefit of abstract class?

950