In Java, when a subclass object is created, is a superclass object created or not? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 2
Not exactly, but the super constructor its called.
18th Dec 2016, 5:52 AM
Nahuel
Nahuel - avatar