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

What is the difference between class & structure?

1228


What is prefix of a string?

1041


How would you dynamically allocate memory to an array?

1040


What is deserialization?

1030


What is jdbc api?

1009


Can we use synchronized block for primitives?

1073


Explain the difference between runnable and callable interface in java?

1050


Does treeset allow null in java?

956


Difference between ‘is-a’ and ‘has-a’ relationship in java?

1006


What is preparedstatement in java?

1050


what are synchronized methods and synchronized statements? : Java thread

997


Explain about transient variables in java?

1100


Tell some latest versions in JAVA related areas?

984


What is a lightweight component?

1025


What is the purpose of extern variable?

1018