aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes static inner classes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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: 3219
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: 3219
It is, if it is not contained in any other class.
 
 
subject: static inner classes
 
Similar Threads
Top-level classes
What is a static class???Kindly let me know.
Top level Class
Accessibility of private methods in inner classes
can a class be declared static?