| Author |
argument -defined Anonymous inner class
|
K Anshul
Ranch Hand
Joined: May 19, 2004
Posts: 71
|
|
iMethod is overridden in an argument. Is there any way i can call iMethod() and print "Argument" on the screen.
|
 |
Jeroen Wenting
Ranch Hand
Joined: Oct 12, 2000
Posts: 5093
|
|
if IFace defines the method you can call it. If not, tough luck.
|
42
|
 |
Sanyev Babu
Ranch Hand
Joined: Dec 18, 2003
Posts: 132
|
|
Since it is a argument local inner class you can call the overloaded iMethod only from inside the method. The code above will print Argument. but it is called from within the method. Sanyev
|
 |
 |
|
|
subject: argument -defined Anonymous inner class
|
|
|