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 the wrapped, classes?

1109


What is a variable declaration?

1031


What is string made of?

1015


Can we clone singleton class in java?

1013


What is module with example?

1092


What is the purpose of the system class in java?

1096


Can we compare two strings in java?

1074


In which language java is written?

1029


How would you convert bytes to string?

1050


What is the difference between method overriding and overloading?

1290


What are the different types of java?

1108


What is the major difference between linkedlist and arraylist?

1118


Difference between concurrent hashmap and hashtable and collections

1125


Can java run on google chrome?

1249


What are recursive functions? Give some examples?

1243