title: Initialize a Point2D in List<>
body: <p>If I have a simple List&lt; Point2D > declared.</p>
  
  <p>Example:</p>
  
  <pre><code>List&lt;Point2D&gt; listOfPoints;
  
  /* What I tried */
  Point2D point1;
  listOfPoints.add(point1);
  </code></pre>
  
  <p>But, how does one initialize <code>point1</code> so that I can have a coordinate of let's say <code>(3,2)</code>?</p>