Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
Hello my friends
I have a question,who can to help me??
My question: What is relationship between virtual method an dynamic binding???
Thanx:rose:
Posted

The problem is that to know the relationship between A and B, you should first know something about A and B.

And from the query, it doesn't look like you know about virtual methods or dynamic binding. Had you known, you wouldn't have asked this.

So, why not read up on those? A good book on C++ or OOP in general should help.
 
Share this answer
 
Polymorphism is one of the pillars of OOP. If you have such doubts on this fundamentals then is time to buy a good book on OOP.
Some introductory info at Wikipedia.
 
Share this answer
 
I could understand :-O ,
that the virtual technique does provide the dynamic binding[^] :)
 
Share this answer
 
Try typing each term into wikipedia or google.
 
Share this answer
 
Its Dynamic Polymorphism! (also referred as runtime polymorphism)...

need to know more, just google the highlighted words!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900