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 Programmer Certification (SCJP/OCPJP) and the fly likes Inner Class Doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inner Class Doubt" Watch "Inner Class Doubt" New topic

Inner Class Doubt

mamidi venkat
Ranch Hand

Joined: Jul 03, 2007
Posts: 63

In the inner class we can have the non acess modifier i.e abstract for the inner class.My Question is abstract class should be implemented it can't be it is done with the Outer class.How outer class will extends the inner.

ex class MyOuter {
private int x = 7;
public void makeInner() {
abstract class MyInner {
public void seeOuter();
Mert Caliskan

Joined: May 08, 2007
Posts: 10
abstract inner class sample

anonymous inner class creation from abstract inner class which resides inside AbstractInnerClassSample..whew..

mamidi venkat
Ranch Hand

Joined: Jul 03, 2007
Posts: 63

Thanks a lot

I agree. Here's the link:
subject: Inner Class Doubt
It's not a secret anymore!