File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Inner Class: An example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inner Class: An example" Watch "Inner Class: An example" New topic

Inner Class: An example

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Hi ranchers,
Regarding the difference between Top-level Nested class (now known as Static Inner Class) & Non-static Inner Class and how they are inherited from another class, i have prepared a code that may give u chance to play around and improve it. I intentionally made the code longer and JavaBeans compliant!

Hope you have fun with it...

Ashik Uzzaman
Senior Member of Technical Staff,, San Francisco, CA, USA.
It is sorta covered in the JavaRanch Style Guide.
subject: Inner Class: An example
Similar Threads
How can I add elements in Hashmap?
how to access Inner class member
more about nested class topics
How does this work? sychronized([Classname].this) {...
Can inner classes be overidden ?