What are the properties of inner class in Java?

It can access any private instance variable of the outer class . Like any other instance variable, we can have access modifier private, protected, public, and default modifier. Like class, an interface can also be nested and can have access specifiers.24 Şub 2022

Sizin İçin Seçtik  How do you commit in Vuex?

Leave a Reply

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