How to represent a default method in class diagram notation

0 votes
asked Jul 19, 2023 in Question / help by jamieburns (120 points)

Does PlantUML's class diagram notation support Java's default keyword. For example,

public interface Alice
{
    public default Bob getBob()
    {
        return new Bob();
    }
}

If not, is there a way a default method could be indicated?

Thanks.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...