• Post Reply Bookmark Topic Watch Topic
  • New Topic

Inner class or methods

 
Rachna Chaturvedi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rachna
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well when it comes to listeners, I tend to have Anonymous inner classes, that call methods in the class.
Mark
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!