How do inner classes work?

Inner classes are a security mechanism in Java. We know a class cannot be associated with the access modifier private, but if we have the class as a member of other class, then the inner class can be made private . And this is also used to access the private members of a class.

Sizin İçin Seçtik  What's the difference between 3G and Astroturf?

Leave a Reply

Your email address will not be published. Required fields are marked *