Created
November 8, 2017 17:35
-
-
Save smart-lemon/8f20e639ef6a8446454080cc8fc4427c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Cat : public Animal { | |
public : | |
Cat(){ | |
setSound("Meow..."); | |
} | |
void throwThingsOffTheTable() { | |
cout << "Sounds of plates crashing!" << endl; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment