Pregunta de entrevista de Knoldus Software

Why we use Abstraction ? What is Inheritance?

Respuesta de la entrevista

Anónimo

2 dic 2022

abstraction is used to hiding unnecessary details from user and show only necessary details for ex- A user use remote and control the televisions but they don't know how it work internally. In inheritance Drive class inherit all the properties from base class. for ex- Child inherits properties from his parents.