Start Back Next End
  
31
d.
Visibility
Class Diagram is known for its visibility, used to
determine whether an attribute from a class can be
used by other classes or not.
Table 2.1
Table of Visibility
#
Symbol
Description
1
-
Private
Attribute can be used only by the class who define it.
2
#
Protected
Attribute can be used by the class who define it as
well as its inheritance class(es)
3
+
Public
Attribute can be used by all class who have
relationship with the defined class
Word to PDF Converter | Word to HTML Converter