80.7k views
0 votes
. Object-oriented programming allows you to derive new classes from existing classes. This is called ____________.a. encapsulationb. inheritancec. abstractiond. generalization

User Prasanth P
by
6.1k points

1 Answer

4 votes

Answer:(b)Inheritance

Step-by-step explanation: Object-oriented programming(OOP) is a concept that is for the computer programming that uses objects. It has a feature inheritance ,which is defined as the class that can inherit or acquire the properties of the other class. It is important because it provide properties to be reused .

There are different types of inheritance such as:-

  • Multiple inheritance
  • Single inheritance
  • Hierarchical inheritance
  • Hybrid inheritance

User Vibert
by
6.0k points