Without an access modifier, a class member is accessible throughout the package in which it's declared. You can learn more from the Java Language Specification, ยง6.6.
Members of an interface are always publicly accessible, whether explicitly declared or not.