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...

why we cannot declare static variable inside a static method

Answer Posted / sachin kanojiya

Static variable initializes at the time of class load
(static variable initialize very first,after that static
method)that means static variable and method already define
but inside the static method can't declare static variable
because it is treat as static local member...

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is best ide for java?

994


What is the size of int in 64-bit jvm?

1008


What are the differences between string and stringbuffer?

1056


What are conditionals and its types?

1076


Why is string class considered immutable?

999


What is compareto () in java?

905


what are Hostile Applets?

2015


What is the history of java?

939


What is the meaning of flag day?

959


What are parsers? Dom vs sax parser.

983


How do I compare two strings in word in java?

934


What is function and its uses?

1037


What is meant by object?

961


What is called module?

922


How many types of array are there?

951