Monday, April 30, 2007

Can an inner class be defined inside a method?

Yes it can be defined inside a method and it can access data of the
enclosing methods or a formal parameter if it is final.

0 comments :

 

Disclaimer
Interview Questions On Java,Java EE Copyright © 2016. Reads: best tracker