Question d’entretien chez Critical TechWorks

What is inheritance in C++? Write an example.

Réponse à la question d'entretien

Utilisateur anonyme

21 juin 2025

Inheritance is a mechanism to reuse and extend classes without changing them. I then wrote an example.