This file contains hidden or 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
// INHERITANCE | |
// void main() { | |
// Lizard liz = Lizard(); | |
// // Cat kitty = Cat(); | |
// // kitty.test(); | |
// liz.test(); // Testing in Lizard, Animal, and Reptile | |
// liz.crawl(); // Now we can call crawl() from Reptile class | |
// } |