Displaying  Source Code(s)  
 

 
Why we can not declare constructor as final?

--------------------------------------------------------------------------------



The keyword final when dealing with methods means the method cannot be overridden.
Because constructors are never inherited and so will never have the oportunity to be overridden, final
would have no meaning to a constructor.
 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG