title: How to find the maximum number of points lying on the same straight line
body: <p>Suppose you have an array of Points on a 2D plane. Point being defined as such:</p>
  
  <pre><code>class Point {
      public int x; 
      public int y;
  
      Point(int _x, int _y) { x = _x; y = _y; }
  }
  </code></pre>
  
  <p>How could I find the maximum number of points lying on the same straight line in java?</p>