Difference between revisions of "Stackoverflow53027130"
Jump to navigation
Jump to search
(Created page with "<uml> class Bird { birdtype } </uml>") |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | see | ||
| + | * [https://stackoverflow.com/questions/53027130/uml-abstract-classes question UML abstract classes?] | ||
| + | * [https://stackoverflow.com/a/53047719/1497139 answer] | ||
| + | = Bird = | ||
<uml> | <uml> | ||
| + | hide circle | ||
class Bird { | class Bird { | ||
birdtype | birdtype | ||
} | } | ||
</uml> | </uml> | ||
| + | = Blackbird / Bluebird = | ||
| + | <uml> | ||
| + | hide circle | ||
| + | class Bird { | ||
| + | birdtype | ||
| + | color | ||
| + | } | ||
| + | </uml> | ||
| + | <uml> | ||
| + | hide circle | ||
| + | class Bird { | ||
| + | |||
| + | } | ||
| + | class Blackbird{ | ||
| + | } | ||
| + | class Bluebird{ | ||
| + | } | ||
| + | Bird <|-- Blackbird | ||
| + | Bird <|-- Bluebird | ||
| + | </uml> | ||
| + | [[Category:UML]] | ||


