adspace
How do we represent private, public and protected in class diagrams?
Answer Posted / Mithun Azad
In Class Diagrams, access modifiers such as Private (represented by a minus sign -), Public (represented by a plus sign +), and Protected (represented by a hash sign #) are used to specify the visibility of class members (attributes or methods). These modifiers determine whether the member can be accessed from outside the class, from the same package, or only within the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category