English: UML class diagram of a abstract class named Shape which declares the abstract method Area.
The class Rectangle inherits from the abstract class Shape and has to provide an implementation for the abstract method Area.
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 Shape
{
+Height: int
+Width: int
+ {abstract} Area(height: int, width: int): int
}
class Rectangle extends Shape
{
+Area(height: int, width: int): int
}
@enduml
Captions
Add a one-line explanation of what this file represents