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?

Answers were Sorted based on User's Feedback



Can you have an inner class inside a method and what variables can you access?..

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

Can you have an inner class inside a method and what variables can you access?..

Answer / kabita

yes we have.it is called local inner class.it can access
only final variables of outer class.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More Core Java Interview Questions

What does += mean coding?

0 Answers  


What do you mean Abstraction in java?

0 Answers   Aspire, Infogain,


What are the 4 versions of java?

0 Answers  


What is array list in java?

0 Answers  


What is anonymous class?

2 Answers  


Justify your answer that you can't define a method inside another method in java, if you can then how?

0 Answers  


What are constants?

0 Answers  


Is java written in c?

0 Answers  


Is the empty set a singleton?

0 Answers  


Why does java doesnot support multiple inheritance?

5 Answers   TCS,


What is difference between abstract class & final class

7 Answers  


Write the algorithm to check the number non-leaf nodes in a tree.

0 Answers   Amdocs,


Categories