Home > DeveloperSection > Interviews > Can you have an inner class inside a method and what variables can you access?

Posted on    October-25-2010 12:00 AM

 Java Java 
Ratings:
 1 Answer(s)
  811  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Points:1205
Posted on    November-08-2010 1:00 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick