why constructor is not define inside Interface?

Constructor is used for to intialize the the property or instance variable .but inside the Interface only public, Final and Static variable is only we can define.
But Static is part of Class level variable and intialize at the loading time of the class.so if our Static variable already intialize at loading time than there is no need of Constructor inside the Interface.

0 comments :

Post a Comment