Inheritance/Single: Difference between revisions
Content added Content deleted
Alextretyak (talk | contribs) (Added 11l) |
m (→{{header|Phix}}: added to Phix/Class) |
||
Line 1,588: | Line 1,588: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
{{libheader|Phix/Class}} |
|||
Add (private|public) fields and methods as needed. Make Animal and Dog abstract (ie use "abstract class") to prevent instantiation. |
Add (private|public) fields and methods as needed. Make Animal and Dog abstract (ie use "abstract class") to prevent instantiation. |
||
Needs 0.8.1+ |
Needs 0.8.1+ |