Computer Applications

Assertion: Property by virtue of which one class acquires the properties of another class is termed as Inheritance.

Reason: Inheritance promotes reusability.

  1. Assertion is true, Reason is false.
  2. Assertion is true, Reason is true.
  3. Assertion is false, Reason is false.
  4. Assertion is false, Reason is true.

OOP Intro Java

1 Like

Answer

Assertion is true, Reason is true.

Reason — Inheritance is the property by which one class (subclass) acquires the properties of another class (superclass). It promotes reusability by allowing code to be written once and used by multiple classes.

Answered By

1 Like


Related Questions