aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes i need some explanation.. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "i need some explanation.." Watch "i need some explanation.." New topic
Author

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
Sheriff

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: i need some explanation..
 
Similar Threads
doubt on top level nested classes -from velumurugan periyasmays site
Static Nested Classes
can a class be static?
Inner classes -doubt on static
static class