How to show friend class in UML

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 :

__________ <> __________
| A | ----------------------->| B |

kindly suggest ?

yes u can class B is friend of class B can access all the data of class A.