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 / digant mehta

tatic 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

Variable of the boolean type is automatically initialized as?

974


What is mean by encoding?

1035


what is difference betweem home interface and remote interface?

2573


what is the volatile modifier for? : Java thread

936


What is super?

1065


Why is inheritance used in java?

1070


what is function overloading in java?

1230


Why java is used everywhere?

963


Is zero a positive integer?

996


How does a cookie work in Servlets?

795


What is an immutable class? How to create an immutable class?

1018


What is the static block?

1011


What is an off by one error in java?

910


what is the difference between thread and runnable types? : Java thread

955


Does java have a compiler?

986