I know that: If $\DeclareMathOperator{\diam}{diam}(X,d)$ is a metric space and $A\subset X$ is bounded, then there $\sup \{ d(a,a'):a,a'\in A \}$, called the diameter of the set $A$ and is denoted by $\diam A$.
But I didn't know how to prove the follows property:
Let $(X,d)$ is a metric space. Show that the subsets $A,B\subset X$ are valid following property:
$\diam \overline A= \diam A$;
$d(\overline A, \overline B)=d(\overline A, B)=d(A, \overline B)=d(A,B)$.
Please help me. Thank you very much for your help and your attention. I hope someone will solve this example. Previously, thank you very much.