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 show.here class B is friend of A.so class B can access all the data of class A.

<<friend>>

B-------------->A