|
Inheritance vs Interface Polymorphism (C++)
Doxygen docs for the C++ implementation
|
Base class exposing a virtual speak() method. More...

Public Member Functions | |
| virtual void | speak () |
| Emits the generic animal sound. | |
| virtual | ~Animal ()=default |
Base class exposing a virtual speak() method.
Definition at line 13 of file C++ Implimentation.cpp.
|
virtualdefault |
|
inlinevirtual |
Emits the generic animal sound.
Reimplemented in Cat, and Dog.
Definition at line 18 of file C++ Implimentation.cpp.