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

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.

Static variables are created in Method Area part of Memory.

Is This Answer Correct ?    147 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is break statement can be used as labels in java?

911


What does the exclamation mark mean in java?

1168


What is variable argument in java?

948


What is an association?

939


Can an interface extend another interface?

1007


What are the main uses of java?

937


What is the use of inner class?

991


What access modifiers can be used for methods?

1045


Which class cannot be a subclass in java?

953


Explain public static void main(string args[]).

1103


how are methods defined?

995


What are peerless components in java programming?

958


What is substring 1 in java?

1061


How does indexof work?

893


How do you remove spaces in java?

974