Which pairing is correct?

Practice this question from Quiz: OOPS Revision Sheet, with options and an explanation.

Question

Which pairing is correct?

Option A

Overloading -> runtime, Overriding -> compile time

Option B — Correct answer

Overloading -> compile time, Overriding -> runtime

Option C

Both are compile-time only

Option D

Both are runtime only

Quiz: OOPS Revision Sheet

All questions · Previous question · Next question

Open on QuizMaker