This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Inner class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Inner class" Watch "Inner class" New topic
Author

Inner class

majohnad majohnad
Greenhorn

Joined: Jan 01, 2003
Posts: 24
Hi, I got this follwing statement in one of the mock exam. is it True?
"An inner class is a nested class that is not static"
Thanks in Advance.


zxjohn
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Yes, this is correct as per the language specification, but
don't expect everyone to be consistent in this terminology, not even Sun themselves. So beware.
- Peter
majohnad majohnad
Greenhorn

Joined: Jan 01, 2003
Posts: 24
Thank u very much Peter.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner class
 
It's not a secret anymore!