Skip to content
Sharp

Object-oriented programming · interview question

In the context of method overriding, what does 'same signature' mean?

Multiple choiceEasychapter-5-curatedpremiumoopmethod-overriding
Choose one answer
Answer and explanation

Correct answer

D. Same name and same parameters.

Why

In method overriding, 'same signature' means the method must have the same name and parameters as the method in the superclass. This is a key requirement for method overriding.

Test yourself on Object-oriented programming

A free test with instant, explained results. No account needed.

Start free test
All Object-oriented programming questions →