how to call a private constructor
View Single Post
Thanks for the reply
I am not supposed to make the constructor public(One of the conditions).
Moreover I am required to write a method inside the constructor that can be public and i am supposed to call it in the main()