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