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

No we can't declare a static variable in a method.
only final and default scope variables are allowed inside
the method

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of interfaces are there?

1073


What is the difference between pass by reference and pass by pointer?

1099


What is functional interface in javatpoint?

1053


What is integers and example?

992


Is hashset ordered java?

1090


What is identifier with example?

1047


What is the use of bufferedreader?

996


What is multiple inheritance? Is it supported by java?

964


How to create packages in java?

949


What is argument in java?

1020


What is a programming object?

1108


Why does java not support operator overloading?

1138


What an i/o filter in java programming?

1096


How do you start a new line in java?

985


What are locale settings?

990