Inheritance vs Interface Polymorphism (C++)
Doxygen docs for the C++ implementation
Loading...
Searching...
No Matches
Cat Class Reference

Animal subclass that overrides speak() to meow. More...

Inheritance diagram for Cat:
Collaboration diagram for Cat:

Public Member Functions

void speak () override
 Emits the generic animal sound.
Public Member Functions inherited from Animal
virtual ~Animal ()=default

Detailed Description

Animal subclass that overrides speak() to meow.

Definition at line 37 of file C++ Implimentation.cpp.

Member Function Documentation

◆ speak()

void Cat::speak ( )
inlineoverridevirtual

Emits the generic animal sound.

Reimplemented from Animal.

Definition at line 39 of file C++ Implimentation.cpp.


The documentation for this class was generated from the following file: