langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
19
Task/Inheritance-Single/Oz/inheritance-single.oz
Normal file
19
Task/Inheritance-Single/Oz/inheritance-single.oz
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
class Animal
|
||||
%% ...
|
||||
end
|
||||
|
||||
class Dog from Animal
|
||||
%% ...
|
||||
end
|
||||
|
||||
class Lab from Dog
|
||||
%% ...
|
||||
end
|
||||
|
||||
class Collie from Dog
|
||||
%% ...
|
||||
end
|
||||
|
||||
class Cat from Animal
|
||||
%% ...
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue