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  What is classes and structure?

Leave a Reply

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