racbray
asked on
Enclosed instance
What is a "enclosed instance"?
Could some one please give me an example of an "enclosed instance"
I want to use the following :
AbstractDocument.AbstractE lement myElement = new AbstractDocument.AbstractE lement(doc , attrs, start, end);
When I compile my program I get the error as indicated in the error message box above
Thanks
Reg Bray
Could some one please give me an example of an "enclosed instance"
I want to use the following :
AbstractDocument.AbstractE
When I compile my program I get the error as indicated in the error message box above
Thanks
Reg Bray
you can't create an instance of abstract class!
also to create an instance of an inner class, you need to have the instance of outer class if the inner class isn't static!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.