+ 2
Why can t we declare a constructor as final?in java
4 Antworten
+ 6
In order to prevent a method to be overridden we use final key word to method. But in the case of constructor , constructor is never inherited so no need to make a constructor final
https://www.quora.com/Why-can%E2%80%99t-constructors-be-final
https://stackoverflow.com/questions/9477476/why-constructors-cannot-be-final
+ 3
Constructors cannot be Overrided.
So, there's no need for the final keyword.
+ 1
because a constructor is called during object creation and adding the final keyword might just mean it's specifications must be constant?