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

What are examples of modifiers?

1220


What is the relationship difference the canvas class and the graphics class?

1110


What is hash in java?

1037


What is data string?

1045


What is composition in java?

1338


What are nested classes in java?

1165


Does java have a compiler?

1087


Which method cannot be overridden in java?

1039


what is an objects lock and which objects have locks? : Java thread

1067


What is the use of System class?

1212


What is assembly used for?

1057


What is loop in java?

1047


Why is java so important?

1156


How to set the permissions to a file in java?

1037


Can a class extend 2 classes in java?

1089