Can we override the constructor in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Can we override the constructor in java?

13th Aug 2017, 7:04 AM
Safinaz Sayed
Safinaz Sayed - avatar
4 Answers
+ 2
why?please explain?
13th Aug 2017, 7:35 AM
Safinaz Sayed
Safinaz Sayed - avatar
+ 1
No you can't.
17th Dec 2019, 5:00 AM
Sonic
Sonic - avatar
0
no
13th Aug 2017, 7:33 AM
shobhit
shobhit - avatar
0
because they r not inherited
13th Aug 2017, 7:38 AM
shobhit
shobhit - avatar