title: UML - What is relationship when a class instance is declared in method
body: <p>I would like to know how the following relationship is called in UML and how it is marked on a class diagram ? Is that a constrained dependency relationship, marked by dotted arrow ?</p>
  
  <pre><code>public class A {}
  
  public class B
  {
      public foo()
      {
         A a = new A();
      }
  }
  </code></pre>