This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Inner Class Doubt