Inheritance/Single: Difference between revisions
m
→{{header|Phix}}: notonline tag
m (→{{header|Self}}: 5*s->1) |
m (→{{header|Phix}}: notonline tag) |
||
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.
<!--(phixnotonline)-->
<syntaxhighlight lang="phix">
without js -- (class)
|