Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 2
Can constructors be overwritten?
2 ответов
+ 5
No you cannot override constructors.
0
To override a method it has to be inherited. Since constructors are not member methods hence can not be inherited and thus can not be overriden.