C# Programming - Polymorphism - Discussion
Discussion Forum : Polymorphism - General Questions (Q.No. 16)
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.
Discussion:
2 comments Page 1 of 1.
Vasanthi said:
1 decade ago
What is meant override?
Abhishek Jha said:
1 decade ago
I don't understand why Overridden base method has to have Keyword "Override".
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers