In Java, we have some modifiers: protected, public, private. In UML, they are #, +, -, respectively.
My question is, what does the tilde ~ symbol mean in UML? And does it have any meaning in Java, C++?
It means package visibility, which is equivalent to the default access in Java. No analogue in C++.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With