In Java, when a subclass object is created, is a superclass object created or not? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

In Java, when a subclass object is created, is a superclass object created or not?

18th Dec 2016, 5:47 AM
Somnath Ghosh
Somnath Ghosh - avatar
1 ответ
+ 2
Not exactly, but the super constructor its called.
18th Dec 2016, 5:52 AM
Nahuel
Nahuel - avatar