Object oriented
override
Replace a parent's method with one of your own.
Syntax
define override func <name>(...) returning <type>;
How she behaves
- The signature should match what you are replacing.
- You may still call the original with parent.
- This is how runtime polymorphism knows which Speak() to use.
Example
define override func Speak() returning str;
return "Woof!";
end;