advantages of inheritance
Answers
Answered by
2
Answer:
The main advantages of inheritance are code reusability and readability. When child class inherits the properties and functionality of parent class, we need not to write the same code again in child class. This makes it easier to reuse the code, makes us write the less code and the code becomes much more readable.
Answered by
2
THE MAIN ADVANTAGES OF INHERITANCE ARE CODE REUSABILITY AND READABILITY. WHEN CHILD CLASS INHERITS THE PROPERTIES AND FUNCTIONALITY OF PARENT CLASS, WE NEED NOT TO WRITE THE SAME CODE AGAIN IN CHILD CLASS. THIS MAKES IT EASIER TO REUSE THE CODE, MAKES US WRITE THE LESS CODE AND THE CODE BECOMES MUCH MORE READABLE.
PLEASE MARK ME AS BRAINLIST.......
Similar questions
Math,
4 months ago
Hindi,
4 months ago
Chemistry,
8 months ago
India Languages,
8 months ago
Business Studies,
11 months ago
Environmental Sciences,
11 months ago