Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Is multiple inheritance or implementation possible?

0 votes

Hello,

Is it possible to use the extends (resp. implements) keyword to specify multiple inheritance (resp. implementation)?

I tried the following syntax without success:

class A extends B, C {
}
 
A workaround is to use explicit links:
B <|-- A
C <|-- A
but this reduces readability.

 

Thanks,

 

Fred

asked Jul 23, 2014 in Wanted features by fred (730 points)

1 Answer

0 votes
 
Best answer
Hello,

Good idea, this has been implemented in V8002.

Thanks for the suggestion!

Regards,
answered Jul 23, 2014 by plantuml (113,980 points)
selected Jul 24, 2014 by fred
Thanks.

Often, I perform syntax tests with the online PlantUML application (http://www.plantuml.com/plantuml/form), but it is not always updated to the very last version.

Maybe this is because you wait until you have a stable version before putting it online? If this is the case, I would suggest a separate "beta" application (e.g., http://www.plantuml.com/plantuml_beta/form) so that one could test the very latest features.
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...