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

Because all the variales inside static method are by
default static

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Basics of OOP Language in java

1002


How does the garbage collector works in java?

1058


Can we use string in the switch case?

1001


What is parsing in java?

917


What is difference between equal and == in java?

917


What are the differences between Java 1.0 and Java 2.0?

2222


What are the drawbacks of singleton class?

971


How do I run java on windows?

1113


What is meant by memory leak?

1001


How is a variable stored in memory?

950


What is a stringbuilder?

863


Which variables are stored in stack?

872


What is the mapping mechanism used by java to identify IDL language?

974


What is string immutability?

1044


What is tostring () method?

965