Constructor of a private class

Can we make a constructor of private class and if we can will it be public or private?

Yes, we can make a constructor of a private class, and you can set it to anything but it will be instantiated only using the class inside which this private class sits.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.