If I have fnc:
class AClass
{
void fnc() const;
};
Am I supposed to provide const modifier in UML class diagram while listing this fnc or not?
If I have fnc:
class AClass
{
void fnc() const;
};
Am I supposed to provide const modifier in UML class diagram while listing this fnc or not?
The syntax is actually a little convoluted, for example:
<< query >> -fnc()
The const can be represented as a stereotype (e.g., << query >> or «query» if you have a post-1980s computer )