answersLogoWhite

0

Polymorphism in VC++ is the same as polymorphism in C++ itself. When you implicitly call a virtual method of a base class or one of its derivatives, then you rightly expect the most-derived override to execute instead, even when the runtime type is completely unknown to the caller and cannot be determined at runtime let alone compile time. You get that for free simply by overriding the known virtual methods of the base class, and without any need for expensive runtime type information, which is only useful if the caller is actually aware of the type in the first place, and which can only be predicted on a closed system. The whole point of polymorphism is that the base class (and therefore the caller) need know nothing whatsoever about any of its derivatives in order to execute more specialised methods. VC++ fully supports this aspect of OOP.

User Avatar

Wiki User

11y ago

What else can I help you with?

Continue Learning about Engineering
Related Questions

1 Do polymorphism and mutation explain the same biological phenomenon?

no polymorphism and mutation are different.polymorphism represents overall change in an organism whereas mutation may or may not bring overall change.


What is the difference between describe and explain?

Describe is what it is and explain is why it is as it is


What is difference between explain and describe?

Describe is what it is and explain is why it is as it is


Explain listing process with suitable example and Diagram?

1 Explain listing process with suitable example & Diagram


What is the describe and explain child's right in Cambodia?

describe and explain child's right?


Explain what is meant by the fetch-execute cycle and describe its action in RLT?

Explain what is meant by the fetch-execute cycle and describe its action in RLT?" Explain what is meant by the fetch-execute cycle and describe its action in RLT?"


Explain earth 's position in the solar system and describe its neighbors?

explain earth's position in the solar system and describe its closest neighbors.


What is an noun for the word describe?

A synonym for describe is 'explain'.


What is a word another word for describe?

explain


Explain with suitable example how switch statement is differ from if statement?

www.assignmentsclub.com


What do you mean by recursive function explain with suitable example?

Type your answer here...


Describe the meaning of utility in economics and explain why it is different from on consumer to another?

Describe the meaning of utility in economics and explain why it is different from one consumer to another.