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

What is the internal implementation of set in java?

986


What is overriding in java?

1115


Why does java doesnt suuport unsigned values?

2297


Define inheritance with reference to java.

1138


What is Major and importance difference between for and foreach loop ?

1201


What is the difference between sop and work instruction?

974


What are the types of java?

1167


Why set is used in java?

1062


What is the difference between synchronized and synchronized block?

1104


Can we override final method?

1066


What is a generic type?

1051


What is mvc in java?

1059


What is the locale class in java programming?

1147


What is meant by javabeans?

1128


What is the purpose of a parameter?

1133