|
Inheritance vs Interface Polymorphism (C++)
Doxygen docs for the C++ implementation
|
Animal subclass that overrides speak() to bark. More...


Public Member Functions | |
| void | speak () override |
| Emits the generic animal sound. | |
| Public Member Functions inherited from Animal | |
| virtual | ~Animal ()=default |
Animal subclass that overrides speak() to bark.
Definition at line 27 of file C++ Implimentation.cpp.
|
inlineoverridevirtual |
Emits the generic animal sound.
Reimplemented from Animal.
Definition at line 29 of file C++ Implimentation.cpp.