Polymorphism

Q1: Which of the following statements is correct?

A When used as a modifier, the new keyword explicitly hides a member inherited from a base class.

B Operator overloading works in different ways for structures and classes.

C It is not necessary that all operator overloads are static methods of the class.

D The cast operator can be overloaded.

ANS:A - When used as a modifier, the new keyword explicitly hides a member inherited from a base class.

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.