Using
‘extends’ keyword, we can specify the extension relationship.
extends.txt
@startuml
interface List{
}
class AbstractList implements List{
}
class ArrayList extends AbstractList{
}
class LinkedList extends AbstractList{
}
@enduml
Above snippet generate below diagram.

No comments:
Post a Comment