title: How to express dependency in a UML Class Diagram?
body: <p>I the following two classes:</p>
  
  <pre><code>class a {
      void foo(){
          b object= new b();
          object.baar();
      }
  }
  class b {
      void baar(){
      }
  }
  </code></pre>
  
  <p>How to express class <code>a</code> using class <code>b</code> with Class Diagram (which arrow to use)?</p>