English: A diagram containing a class named Cat which inherits from a abstract class named Animal. The abstract class Animal declares a property named Name, and the methods Drink, Eat and Go.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse
@startuml abstract class Animal { +string Name +void Drink() +virtual void Eat() +void Go() } class Cat extends Animal { +new string Name +void Drink() +override void Eat() +new void Go() } note right of Cat::Drink Warning: hides inherited Drink(). Use new. end note note right of Cat::Eat Overrides inherited Eat(). end note note right of Cat::Go Hides inherited Go(). end note @enduml
Captions
Add a one-line explanation of what this file represents