Inner Classes – II
Continuing with our discussion of inner classes, this post will deal with how to create inner classes from outside the outer class instance code and also deal with the next type of inner class (inner classes declared inside methods) Recalling a few crucial points from last post, it should be remembered that An instance of inner class always exists only if an instance of outer class exists. Inner classes never exist alone. Inner classes always have access to all the methods and members of the outer class even if they are declared private. In the previous post, we learnt […]
Inner Classes – II Read More »