| Author |
Message |
|
2007/11/02 10:23
|
|
|
|
|
i want to show a firend class is UML.
for example i have following code
class A
{
.........
.........
friend class B;
};
can i use dependency relationship to show my classes as follows :
__________ <<friend>> __________
| A | ----------------------->| B |
-------------- --------------
kindly suggest ?
|
|
|
|
 |
| |
|
2007/11/10 12:57
|
|
|
|
|
yes u can show.here class B is friend of A.so class B can access all the data of class A.
<<friend>>
B-------------->A
|
|
|
|
 |
| |