polymorphism c programming questions

16.

Which of the following are necessary for Run-time Polymorphism?

The overridden base method must be virtual, abstract or override.
Both the override method and the virtual method must have the same access level modifier.
An override declaration can change the accessibility of the virtual method.
An abstract inherited property cannot be overridden in a derived class.
An abstract method is implicitly a virtual method.

A.     1, 3
B.     1, 2, 5
C.     2, 3, 4
D.     4 only
Answer & Explanation

Answer: Option B

Explanation:

No answer description available for this question.

Leave a Reply0

Your email address will not be published.