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 access specifiers available in java?

976


What is the difference between state-based unit testing and interaction-based unit testing?

896


Is passing by reference faster?

949


What is a nested list?

926


What will happen if a thrown exception is not handled?

957


What is abstract class? Explain

982


What are methods and how are they defined?

1145


What is split return?

938


Explain the JDB in depth & command line.

967


How many tetrahedral voids are there in bcc?

1021


What is the difference between an inner class and a sub-class?

949


Explain about fail safe iterators in java?

968


Can you extend main method in java?

1107


Explain creating threads by implementing runnable class?

1098


Can java run on google chrome?

1151