Access Modifiers - Public
The public access modifier allows unrestricted access to the class, method, or variable from any other class in any package. It is the most permissive access level.
The public access modifier allows unrestricted access to the class, method, or variable from any other class in any package. It is the most permissive access level.