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 / govardhani

A static variable is a variable who's single copy in memory
is shared by all objects,so any modifications to the static
variable will modify it's value in all objects.

In classes, a static method is one that is called without an
instance of that class, while a non-static method is called
by instances of the class.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bubble sort in java?

1100


How many bytes is a string?

1173


What is the base class for error and exception?

1036


How do you compare two strings lexicographically?

976


What is nested top-level class?

1089


What is the collections api in java programming?

1025


Can we create a constructor in abstract class?

1036


What is the importance of hashcode() and equals() methods?

1090


Does java isempty check for null?

1038


What does void * mean?

1106


Why do we need singleton class?

1044


Explain about the select method with an example?

1228


what is the difference between the methods sleep() and wait()? : Java thread

1030


How can we find the actual size of an object on the heap?

1352


What is array length?

1016