Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symbols in UML, C++, Java

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++?

like image 338
Songokute Avatar asked Dec 06 '25 08:12

Songokute


1 Answers

It means package visibility, which is equivalent to the default access in Java. No analogue in C++.

like image 85
Alexander Pavlov Avatar answered Dec 07 '25 22:12

Alexander Pavlov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!