• 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?

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!