All mock tests are FREE till 31 December — register to save your progress

Match List I with List II
List IList II
A. OverloadingI. Since function call is resolved during run time, the execution is slow.
B. Early bindingII. Since function call is resolved during compilation time, the execution is much faster.
C. OverridingIII. Supports compile-time polymorphism.
D. Late BindingIV. Supports run-time polymorphism.

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

Show answer & explanation

Correct answer: C. A-III, B-II, C-IV, D-I

Explanation

Overloading supports compile-time polymorphism (A-III). Early binding resolves the call at compile time, so execution is faster (B-II). Overriding supports run-time polymorphism (C-IV). Late binding resolves the call at run time, so execution is slower (D-I).

More Programming Languages and Computer Graphics questions