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

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 ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between static and global variables and also define what are volatile variables?

1043


What is the difference between compile-time polymorphism and runtime polymorphism?

992


What does bitwise or mean?

1070


Why java does not support pointers?

1032


What is the null?

1015


How does list work in java?

911


Can long be null in java?

1005


What is a numeric format?

1079


What an i/o filter?

1011


explain the concept of virtual method invocation in polymorphism in detail?

2218


What value is a variable of the string type automatically initialized?

1112


What’s a deadlock?

1098


How arrays are stored in memory in java?

973


Can an integer be null java?

993


What is the difference between dom and sax parser in java?

965