posted 18 years ago
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.
HI ALL,
with respective to the above program can anybody provide any sample program?
thanks
venkat