Is it good practice to use inner class in Java?

Any additional encapsulation, such as making the entire inner class private , is desirable; but public inner classes are perfectly acceptable . There are many examples in Java, such as AbstractMap.

Sizin İçin Seçtik  AMD Radeon 5600 XT ne kadar?

Leave a Reply

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