Why can't interfaces have static blocks?
Static blocks are initialized before the constructor is called. As the interface cannot be instantiated it so it cannot have static blocks
Static blocks are initialized before the constructor is called. As the interface cannot be instantiated it so it cannot have static blocks
ReplyDelete