What is protected class Java?

The protected keyword is an access modifier used for attributes, methods and constructors , making them accessible in the same package and subclasses.

Sizin İçin Seçtik  Can inner class be protected in Java?

Leave a Reply

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