Why do we use public class?

The public keyword is an access modifier used for classes, attributes, methods and constructors, making them accessible by any other class .

Sizin İçin Seçtik  Is public class possible in Java?

Leave a Reply

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