Two Laptop Bag*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inner Class Doubt" Watch "Inner Class Doubt" New topic
Author

Inner Class Doubt

mamidi venkat
Ranch Hand

Joined: Jul 03, 2007
Posts: 63
Hi ALL,

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 instantiated.how 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
Greenhorn

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
Hi

Thanks a lot



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner Class Doubt