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 difference between static method and static
variable?

Answer Posted / archana

if we declare a variable as static then it has only one copy
for all classes. if a method is declared as static without
using object we can call it.

Is This Answer Correct ?    11 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is arraylist a class in java?

1004


Is the milky way in a void?

925


How are this() and super() used with constructors in java programming?

1025


Does list maintain insertion order java?

865


describe synchronization in respect to multithreading? : Java thread

883


Why parameters should be passed by reference?

918


Difference between process and thread?

994


Why declare Main() method as a static in java ?

1028


Can two objects have same hashcode?

952


How are observer and observable used in java programming?

978


How do you identify if jvm is 32-bit or 64-bit from java program?

916


what is difference between equals and ==?

1003


What does super keyword do?

1030


Can you explain the meaning of aggregation and composition

949


What is string example?

1004