RosettaCodeData/Task/Inheritance-Single/Lisaac/inheritance-single.lisaac

24 lines
359 B
Text
Raw Permalink Normal View History

2023-12-16 21:33:55 -08:00
Section Header
+ name := ANIMAL;
// ...
Section Header
+ name := CAT;
Section Inherit
- parent : ANIMAL := ANIMAL;
// ...
Section Header
+ name := DOG;
Section Inherit
- parent : ANIMAL := ANIMAL;
// ...
Section Header
+ name := LAB;
Section Inherit
- parent : DOG := DOG;
// ...
Section Header
+ name := COLLIE;
Section Inherit
- parent : DOG := DOG;
// ...