aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Inner class or methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Inner class or methods" Watch "Inner class or methods" New topic

Inner class or methods

Rachna Chaturvedi

Joined: May 02, 2002
Posts: 21
Hi all,
which is a better Object oriented design - have Inner classes or methods ., if the same result can be obtained using either of the ways .
I have come up with this query while i was designing my gui and event handlers for FBN.
Thanks in Advance
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

Well when it comes to listeners, I tend to have Anonymous inner classes, that call methods in the class.

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Have you tried LearnNowOnline?
subject: Inner class or methods