Can a class be public?

Public means that the subject may be accessed by any class, protected by subclass , private by the class itself, no modifier means “package protected”, so the subject may be accessed by classes from the same package.

Sizin İçin Seçtik  Will 4G get faster with 5G?

Leave a Reply

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