in a nested class, how do i call a method from the outer class?
Re: nested classes
If your outer class is called "outer" and the nested class declared inside
it is called "inner", then you can get an instance of the class by
outer.inner instance = ...
You can then call methods of the inner class by calling methods of the
instance. (This is according to Appendix D of "The Java Programming
Language" by Arnold and Gosling, I haven't tried it myself.)
Dennis <email@example.com> wrote in message
> in a nested class, how do i call a method from the outer class?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL