¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 1
If I inherit derived class from base class as private what will be the order of constructor and destructor?
2 Respuestas
+ 3
They are called in the same order:
Base constructor then derived one
Derived destructor then base one
0
tq