The no-arg constructor is simply defined instead of being undeclared. However, since the "public" access level modifier was not taken into account, this means that the no-arg constructor is defined using the default package.
This means that any classes outside the package cannot create it. Only classes within the package can instantiate the Provider class.
source share