This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The answer is right in your post. A private abstract class can always be extended as you have done through class C. Hence, the combination of private and abstract is allowed for nested classes and interfaces. [ October 17, 2006: Message edited by: Aniket Patil ]
SCJP 5.0 | SCWCD 1.4 <br /> <br />If you don't know where you are going, any road will take you there!
Line 2 will not compile, in addition you need to provide implementation for method m1() of class A in class AB. With these changes, compilation is fine. [ October 18, 2006: Message edited by: Aniket Patil ]