No Constructor can never be Final. Only private,public and protected modifiers can use with the constructor.
We use final in method level because we don't want subclass inherits that method and overwrite it . But constructor is not a method...
Home » Posts filed under java final constructor
Can we make constuctor as final
in
java,
java constructor,
java final constructor,
java interview
- on March 04, 2016
- No comments