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  What is the difference between a public and a non public class?

Leave a Reply

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