A private constructor is a special instance constructor.
It is commonly used in classes that contain static members only.
If a class has one or more private constructors and no public constructors,
then other classes (except nested classes) are not allowed to create instances of this class.
A static Variable is a Variable that is declared Static and initialized,
the Value cannot be changed it stays like that no matter what.
You can use Static Variables in Calculations where you need constants.
Jobin, if this helps please login to Mark As Answer. | Alert Moderator