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

Answer Posted / anupam sharma

static variables are classes variables not instance
variables .They are hold the value and instantianted only
once for a
class.They are initialised at class load time.
Static method can be referenced with the name of the name
of the particular object of that class. That's how the
library methods like System.out.println works.

Is This Answer Correct ?    16 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define a java class.

1453


What are data types in oop?

1036


What is the size of boolean variable?

1079


What is a priority queue java?

998


What is scope & storage allocation of static, local and register variables? Explain with an example.

1017


How to change the priority of thread or how to set priority of thread?

1031


What is class forname used for?

1051


What is files manifesting?

2205


What is wrapper class example?

1004


What do you understand by soft reference?

1056


Is arraylist sorted in java?

1007


Why we override equals() method?

1041


What is singleton class example?

1031


What are the topics in core java?

1067


What modifiers may be used with a top-level class?

1067