All mock tests are FREE till 31 December — register to save your progress
Unit 3 · Programming Languages and Computer Graphics Paper 2 CS · December 2022 Shift 1

Inheritance provides the benefits of
A. Shared interfaces
B. Run-time polymorphism
C. Less redundant information
D. Dynamic binding
Choose the correct answer from the options given below:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. B, C, D only

Explanation

Inheritance enables code reuse (less redundancy) and, with virtual functions, run-time polymorphism through dynamic binding. These are the keyed benefits.

More Programming Languages and Computer Graphics questions