Which Is The Correct Condition For Function Overriding #992
Which is the correct condition for function overriding?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Member Functions & its Types - Object Oriented Programming MCQ: Overriding Member Functions - Quiz No.1.
Which is the correct condition for function overriding?
The declaration must not be same in base and derived class
The declaration must be exactly the same in base and derived class
The declaration should have at least 1 same argument in declaration of base and derived class
The declaration should have at least 1 different argument in declaration of base and derived class