because the Cow class has its own speak() method
Did the OP edit the question? Because at the moment the only speak() I see is in Animal...
In reply to Re^2: Trying to understand method calling in OOP
by haukex
in thread [SOLVED]: Trying to understand method calling in OOP
by Perl300
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |