C# Programming - Polymorphism - Discussion

Discussion :: Polymorphism - General Questions (Q.No.16)


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

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

[A]. 1, 3
[B]. 1, 2, 5
[C]. 2, 3, 4
[D]. 4 only

Answer: Option B


No answer description available for this question.

Abhishek Jha said: (Jan 3, 2014)  
I don't understand why Overridden base method has to have Keyword "Override".

Vasanthi said: (Jul 29, 2015)  
What is meant override?

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.