Pregunta de entrevista de ITWorx

inheritance

Respuesta de la entrevista

Anónimo

12 de ene de 2023

The child class will inherit all the public and protected properties and methods from the parent class. In addition, it can have its own properties and methods. An inherited class is defined by using the extends keyword.