Discussion :: Polymorphism
-
Which of the following statements is correct?
A.
Static methods can be a virtual method.
|
B.
Abstract methods can be a virtual method.
|
C.
It is necessary to override a virtual method.
|
D.
When overriding a method, the names and type signatures of the override method must be the same as the virtual method that is being overriden.
|
E.
We can override virtual as well as non-virtual methods.
|
Answer : Option D
Explanation :
No answer description available for this question.
Be The First To Comment