How to express concrete method in abstract class on UML2 Class Diagram?

100 views Asked by At

Problem mentioned in the underlined sentence in this image:

enter image description here

I have been asked to add concrete public method in a abstract class in UML2. I am struggling to find the solution as I didn't find any material related this. I know that abstract class can be defined by italic font. But how does one show a concrete public/abstract method in a(n abstract) class?

1

There are 1 answers

0
qwerty_so On

Basically you follow the same rules as for the class being shown italic: show the abstract operation in italic.

enter image description here

As you can see the operation named abstract is rendered in italics indicating that it has the isAbstract property set to true while the concrete operation named concrete is shown in normal font (so being concrete and having isAbstract set to false).