File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes i need some explanation.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "i need some explanation.." Watch "i need some explanation.." New topic

i need some explanation..

Ernest Lee
Ranch Hand

Joined: Aug 20, 2001
Posts: 145
Classes can be nested to any depth. Top-level static classes can be nested only within other static top-level classes or interfaces. (what this means??)

If the inner class is sub-classed outside of the outer class (only possible with top-level nested classes) (why??)
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

Translation: static inner classes cannot be nested to any depth, and are an exception to the rule.
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
I agree. Here's the link:
subject: i need some explanation..
It's not a secret anymore!