EASY
HSSC Clerk
IMPORTANT
Earn 100

If two classes derive one base class and redefine a function of the base class, also overloads some operators inside the class body. Among these two things of function and operator overloading, where is polymorphism used?

50% studentsanswered this correctly

Important Questions on Object Oriented Programming

EASY
HSSC Clerk
IMPORTANT
What do you call the languages that support classes but not polymorphism?
EASY
HSSC Clerk
IMPORTANT
Which among the following best describes polymorphism?
EASY
HSSC Clerk
IMPORTANT
If same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called?
EASY
HSSC Clerk
IMPORTANT
Which among the following can show polymorphism?
EASY
HSSC Clerk
IMPORTANT
Which is must condition for virtual function to achieve runtime polymorphism?
EASY
HSSC Clerk
IMPORTANT
While inheriting a class, if no access mode is specified, then which among the following is true?
MEDIUM
HSSC Clerk
IMPORTANT
A virtual function is _____ class function, which is expected to be redefined in class, so that when reference is made to _____ class object using the pointer, then we can call virtual function to execute _____ class definition version.