File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes static inner classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "static inner classes" Watch "static inner classes" New topic
Author

static inner classes

josephine chen
Ranch Hand

Joined: Oct 29, 2002
Posts: 216

top level inner class or top level class or static inner classes or nested top level classses mean the same

please clear my confusion about this static inner class
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
Except for "top level class", I agree (at least for the exam). "Top level class" means package level class for those purposes.


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
josephine chen
Ranch Hand

Joined: Oct 29, 2002
Posts: 216
I just want to confirm what u have said
class test{} --this is a top level class
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
It is, if it is not contained in any other class.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: static inner classes