hi, i got question regarding virtual method. so for example i have a class called Dynamic which has virtual method move(). There are also two other class that inherited from this Dynamic class, let say Human and Car. Both has different concept of move().
When I try to call an object, without knowing its a Human or a Car, can C++ call the right method for me? So basically I have an object dynamicObj, but i dont know its either Human or a Car, can I call dynamicObject.move() without casting the object to its specific class (Human or Car) and called the right move() method? thanks in advance ================================= http://www.svnstrk.blogspot.com [Non-text portions of this message have been removed]
