Inheritance/Single: Difference between revisions
m
→{{header|Phix}}: oops
m (→{{header|Phix}}: oops) |
|||
Line 1,730:
{{libheader|Phix/Class}}
Add (private|public) fields and methods as needed. Make Animal and Dog abstract (ie use "abstract class") to prevent instantiation.
<!--(
<syntaxhighlight lang="phix">
without js -- (class)
|