Public, private and protected in a class #1547
Answered
by
h8672
raimondoDiSangro
asked this question in
Q&A
-
Hello, Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
h8672
Aug 23, 2022
Replies: 1 comment 1 reply
-
According to wikipedia there's some that tell which access level are markers for class attributes. https://en.wikipedia.org/wiki/Class_diagram#Class-level_relationships
+ Public
- Private
# Protected Seemed to work
~ Package <- This didn't work when I tested. You just type the access level (+ - #) in front of attribute when adding them to list. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
raimondoDiSangro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to wikipedia there's some that tell which access level are markers for class attributes.
You just type the access level (+ - #) in front of attribute when adding them to list.