Inheritance/Single: Difference between revisions
Content added Content deleted
m (→{{header|ActionScript}}: 5*syntaxhighlight -> 1) |
m (→{{header|Aikido}}: 5*s->1) |
||
Line 117: | Line 117: | ||
=={{header|Aikido}}== |
=={{header|Aikido}}== |
||
<syntaxhighlight lang="aikido "> |
<syntaxhighlight lang="aikido "> |
||
class Animal{ |
|||
//functions go here... |
//functions go here... |
||
} |
|||
⚫ | |||
class Dog extends Animal { |
|||
//functions go here... |
//functions go here... |
||
} |
|||
}</syntaxhighlight> |
|||
class Cat extends Animal { |
|||
//functions go here... |
//functions go here... |
||
} |
|||
}</syntaxhighlight> |
|||
class Lab extends Dog { |
|||
//functions go here... |
//functions go here... |
||
} |
|||
}</syntaxhighlight> |
|||
class Collie extends Dog { |
|||
//functions go here... |
//functions go here... |
||
} |
|||
}</syntaxhighlight> |
|||
⚫ | |||
=={{header|AmigaE}}== |
=={{header|AmigaE}}== |