No , We can not declare like this. We have to declare private constructor to a class which makes the class private.For more info please visit the link below. http://www.mstechnology-tutorial.com/2018/08/deep-understanding-of-private.html