aspose file tools*
The moose likes Java in General and the fly likes Inner Class and Nested 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 and Nested Class" Watch "Inner Class and Nested Class" New topic
Author

Inner Class and Nested Class

Richard Teston
Ranch Hand

Joined: Feb 12, 2002
Posts: 89
What's difference between Inner Class and Nested Class?


The Code is the Programmer
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Richard
A nested class is any class that is enclosed by another class. An inner class is any nested class that is not explicitly or implicitly declared static.
Check out the JLS section 8.1.2 for more details.


Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner Class and Nested Class