*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes nested class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "nested class" Watch "nested class" New topic
Author

nested class

joshua antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 117
An inner class is a nested class that is not static - Is this true or false
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
From the Java Language Specification:
An inner class is a nested class that is not explicitly or implicitly declared static


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
joshua antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 117
Thank you very much
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: nested class
 
Similar Threads
Traps to be aware of in any SCJP test !!!!! :)
Nested Classes in UML
Abstract class and private constructor
Final method
Static class??