Question: Which statement best describes the method of inheritance in OOP?

  1. Inheritance describes the ability to create new classes based on an existing class.
  2. Inheritance means that a group of related properties, methods, and other members are treated as a single unit or object.
  3. Inheritance forces a class to have a single responsibility from only one parent.
  4. Inheritance means that you will never have multiple classes that can be used interchangeably, even though each class implements the same properties or methods in different ways.

Answer: The correct answer of the above question is Option A:Inheritance describes the ability to create new classes based on an existing class.