Can we declare inner class as protected?

We can declare the inner classes as private or protected , but it is not allowed in outer classes.

Sizin İçin Seçtik  What is the difference between superclass and subclass?

Leave a Reply

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