Default access modifier for a Java constructor
Constructors are the same as methods in this respect – if you don’t give an explicit public, private or protected then the constructor gets the default “package private” visibility. It can be called from within the same class or from any other class in the same package, but not from subclasses in a different package … Read more