title: UML class diagram for static variable from other class
body: <p>As I know, if the static method from other class, we may interpret their relationship with dependency, just like the answer from <a href="https://stackoverflow.com/questions/11209240/how-to-show-usage-of-static-methods-uml-class-diagram/11213698#11213698">How to show usage of static methods UML Class Diagram</a></p>
  
  <p>However, how about for the static variable from other class? Is it the similar case; using dependancy?</p>
  
  <p>For example,</p>
  
  <pre><code>class A{
      public static String CHAR="Charecter";
      public static String INT="Integer";
      public static String STR="String";
  }
  
  class B{
      public String Type;
      public B(){
      Type=STR;
      }
      public void B(String t){
      Type=t;
      }
  }
  </code></pre>
  
  <p>would it result in the uml class diagram as below?
  <a href="https://i.stack.imgur.com/lgW4c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lgW4c.png" alt="enter image description here"></a></p>
  
  <p>Note that although I would rather use enumeration in real life for this case, I just would like to know how it works.</p>