Inheritance/Single: Difference between revisions
m
→{{header|Phix}}: oops
m (→{{header|Phix}}: oops) |
|||
(One intermediate revision by the same user not shown) | |||
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.
<!--(notonline)-->
<syntaxhighlight lang="phix">
without js -- (class)
|