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 is difference between abstraction and interface?

8 Answers   FIC,


Compare overloading and overriding?

0 Answers  


What is Transient and volatile

10 Answers   iFlex,


Will the jvm load the package twice at runtime?

0 Answers  


Explain importance of inheritance in java?

0 Answers  


What is indexof?

0 Answers  


What is a function argument in java?

0 Answers  


What is return in java?

0 Answers  


How to make a write-only class in java?

0 Answers  


What is the use of generics? When was it added to the Java development Kit?

0 Answers   Impetus,


Is java a super set of javascript?

0 Answers  


Is java ee a framework?

0 Answers  


Categories