Axis Technical interview question

In what situation we used private constructor?

Interview Answer

Anonymous

15 Jan 2020

when you have to keep data private or secure.In case of connection string of database.you can define connection string in private constructor because it is most secure thing in your any proect.