what is the use of private constructor in core java?
Whenever we r using singleton class then we use constructor as private.