This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Interface & Nested Classes??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Interface & Nested Classes???" Watch "Interface & Nested Classes???" New topic

Interface & Nested Classes???

Azam Bukhari
Ranch Hand

Joined: Oct 03, 2000
Posts: 58
Dear Community,
What effect does it cause on the enclosing class if we implements an interface on an inner class??

Don't wanna invent the wheel again!!
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
None that I'm aware of. I use inner classes for all my event handlers, and it doesn't impact the enclosing class at all, it's specific to the inner class.
I agree. Here's the link:
subject: Interface & Nested Classes???
It's not a secret anymore!