Access mode of the generated constructor is public for public classes, and default for classes with any other access mode.
Actually according to the
Java Language Specification, the access modifier of the default constructor is the same as the access modifier of the class.