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

Can you declare a static variable in a method?

Answer Posted / muthusenthil

No, you can declare static variable only in static method

Is This Answer Correct ?    6 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a boolean expression in java?

1017


What is Session reduplication and how its done?

2031


Why do we need strings in java?

983


How do you sort data in java?

942


When does a class need a virtual destructor?

1006


How do you declare an empty string?

1058


What is array and arraylist in java?

1101


What is meant by memory leak?

1065


What is the significance of java packages?

1102


Explain the difference between runnable and callable interface in java?

1041


In java how do we copy objects?

1044


Can we use a switch statement with strings?

1039


What is the association?

972


Name and explain the types of ways which are used to pass arguments in any function in java.

1073


What is 32 bit float?

981