wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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 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

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: http://aspose.com/file-tools
subject: Inner Class Doubt
Similar Threads
inner class
Abstract method local inner classes help
inner classes
How can acces inner class content from outer class if inner class is abstract?
Inner classes