the Code Works Fine now my question is that if we want to access Inner class then it should mandatory that we can use Interface no other way??? Correct me If i am Wrong Thanks
------------------ Regards Farrukh Mahmud [This message has been edited by Marilyn deQueiroz (edited November 23, 2001).]
Regards<BR>Farrukh Mahmud
Jose Botella
Ranch Hand
Joined: Jul 03, 2001
Posts: 2120
posted
0
Hi You can access the inner object via its type in the following way:
Now make the declaration of StaticInner private and it's true that the only way to access an instance of StaticInner is via interface. hope helps