Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

needs explantion

Venkat Ramsimha
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A method-local inner class can be instantiated only within the method where the inner
class is defined. In other words, no other code running in any other method�inside
or outside the outer class�can ever instantiate the method-local inner class. Like
regular inner class objects, the method-local inner class object shares a special
relationship with the enclosing (outer) class object, and can access its private
(or any other) members.

with respective to the above program can anybody provide any sample program?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic