Home
Random
Log in
Settings
About Rosetta Code
Disclaimers
Rosetta Code
Search
Inheritance/Single: Difference between revisions
Language
Watch
View source
← Older edit
Newer edit →
Content deleted
Content added
Revision as of 17:28, 24 October 2018
view source
Wherrera
(
talk
|
contribs
)
4,129
edits
m
→{{header|Kotlin}}
← Older edit
Revision as of 17:31, 24 October 2018
view source
Wherrera
(
talk
|
contribs
)
4,129
edits
→{{header|Julia}}
Newer edit →
Line 929:
];
</lang>
=={{header|Julia}}==
<lang julia>
abstract type Animal end
abstract type Dog end
abstract type Cat end
struct Lab <: Dog end
struct Collie <: Dog end
</lang>
=={{header|Kotlin}}==