Why constructor cannot be final in Java



final keyword prevents a method to be overridden. A constructor cannot be overridden, Java doesn't allow to mark it final.


Advertisements