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

Write a java program to count the number of words present in a string?

976


What are unchecked exceptions in java?

1026


What are loops in java?

1246


What is byte value?

981


What is a null class?

973


Why super is first line in java?

1041


What do you mean by singleton class in java?

898


What is meant by JVM? Is JVM platform independent or not?

1065


How to implement an arraylist in java?

1144


What is the difference between keyword and identifier?

1023


Is java based on c?

987


Why is java called the platform independent programming language?

1001


What is meant by method?

1093


what is a working thread? : Java thread

1027


What is the java idl system?

1035