Question d’entretien chez Knoldus Software

Why we use Abstraction ? What is Inheritance?

Réponse à la question d'entretien

Utilisateur anonyme

2 déc. 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.