Public is the default access specifier to methods in java.