Tuesday 5 September 2023

PlantUML: How to Define the Implements Relationship?

Using ‘implements’ keyword, we can define the implements relationship.

implements.txt

@startuml

interface List{

}

class AbstractList implements List{

}

class ArrayList extends AbstractList{

}

class LinkedList extends AbstractList{

}
	
@enduml

 

Above snippet generate below diagram.


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment