Inner Classes

Submitted by Little Tutorials » An inner class is a class declared inside another class. The enclosing class can be a top level class or another inner class. The reason for using inner classes is to properly implement composition when the life of inner class instances are controlled by the outer class instance.
Rating: 3.2/5 | 87 clicks | 0 comments | 0 saves | share | report

Comments on this tutorial

Discuss this tutorial

You must be logged in to comment on a tutorial.