public is an access-specifier in object-oriented languages; it indicates that all objects have access to the public field or method.