Pregunta de entrevista de Critical TechWorks

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

Respuesta de la entrevista

Anónimo

21 jun 2025

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