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...

Why we use static and synchronized in method for single
thread model
example:
public static synchronized add(){}

Answer Posted / sameer

Ststic means it belongs to class.When u call a syncronized
method u keep the luck of that class.

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different collection views provided by maps?

993


What is jdbc api?

1010


How do you sort a list in java?

1036


What is the indent key?

1040


What is meant by polymorphism?

1026


How do you compare two objects?

941


Which list is sorted in java?

1038


Can we create a class inside a class in java?

1086


What is an immutable class?

1147


What is string in java is it a data type?

1022


what is difference between equals and ==?

1067


What is numeric data type?

990


What is the difference between a method and a function in alice?

1202


What are the rules for naming an array?

1060


What is lambda expression in java?

1048