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 / venkat

static variables are classes variables not instance
variables .They are 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 ?    90 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are decalarations?

1125


What are the various access specifiers for java classes?

1058


Explain the importance of thread scheduler in java?

1017


How to sort elements in a parallel array in java?

894


What is the lifetime and scope of a variable?

1018


What is difference between pointer and reference?

1070


What is space character in java?

1109


What is type safety in java?

952


What is the difference between length and length () in java?

945


Why java is call by value?

1032


What is the difference in between cpp and java? Can u explain in detail?

1091


What is the implementation of destroy method in java. Is it native or java code?

966


List types of storage classes in java?

1154


Is treeset sorted in java?

991


How to implement a multithreaded applet?

2673