why overriding?
Answers were Sorted based on User's Feedback
Answer / ejaz
In two classes(having parent child/common interface
relation) methods with same signature and execution of
method decided at run time based on object type.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vic
To elaborate on Ejaz's answer, the run time determination
will only happen if the functions being called were declared
as being virtual.
If they weren't, then the function to be called will be
determined at compile time according to the object type.
Is This Answer Correct ? | 0 Yes | 0 No |
Why is static class not inherited?
Whats oop mean?
What is overloading and its types?
how to get the oracle certification? send me the answer
What are constructors in oop?
inheritence with example
How many types of access specifier in c# and vb.net?
what is difference between objects and function
What is Object and Class? What are the differences between them?
any one please tell me the purpose of operator overloading
Can you name some types of inheritance?
What is an advantage of polymorphism?