Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
21
Task/Inheritance-Single/FreeBASIC/inheritance-single.basic
Normal file
21
Task/Inheritance-Single/FreeBASIC/inheritance-single.basic
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
Type Animal Extends Object ' to enable virtual methods etc. if needed
|
||||
' ...
|
||||
End Type
|
||||
|
||||
Type Dog Extends Animal
|
||||
' ...
|
||||
End Type
|
||||
|
||||
Type Cat Extends Animal
|
||||
' ...
|
||||
End Type
|
||||
|
||||
Type Lab Extends Dog
|
||||
' ...
|
||||
End Type
|
||||
|
||||
Type Collie Extends Dog
|
||||
' ...
|
||||
End Type
|
||||
Loading…
Add table
Add a link
Reference in a new issue