Visual Paradigm Logo
     Build Quality Applications Faster, Better and Cheaper
 
Home | Products | Download | Documentation | Support | Resources | Partners | Quick Tour | Shop | Company |  
 
   Visual Paradigm Discussion Forum
  Login   [ Register ] Email: Password: Log me on automatically I lost my password  
Advanced Search
how to show friend class in UML  
Forum Index -> UML Questions
Author Message
Anonymous

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 ?



 
Anonymous

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
 
 
   Forum Index -> UML Questions
Go to:   
Powered by JForum 2.1.4 © 2005 - Rafael Steil