What is a default access modifier?

Default access modifier means we do not explicitly declare an access modifier for a class, field, method, etc . A variable or method declared without any access control modifier is available to any other class in the same package.6 Şub 2018

Sizin İçin Seçtik  What is private public and protected?

Leave a Reply

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