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 have an inner class inside a method and what
variables can you access?

Answer Posted / janet

yes, we can have an inner class inside a method and final
variables can be accessed.

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have 2 main methods in java class?

948


Can a singleton class be inherited?

906


What is difference between call by value and call by reference?

933


What is an iterator java?

1001


Can we use return in constructor?

876


Can you use abstract and final both with a method?

1008


What is serial version uid and its importance in java?

986


What is nextint java?

973


What are the restrictions imposed on method overriding?

955


What is the difference between heap and stack memory?

1134


What are data structures in java?

914


Can we use different return types for methods when overridden?

942


Why collection is called framework in java?

926


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

1046


Difference between ‘>>’ and ‘>>>’ operators in java?

1072