title: Implement collision detection by extendung the Rectangle class to use its contains and intersects methods
body: <p>I would like to know if this is a good idea that to implement simple 2D collision detection of rectangles as follows:</p>
  
  <ol>
  <li>Make my own Collision detection class that extends Rectangle class.</li>
  <li>Then when instantiating that object doing something such as <code>Collision col = new Rectangle();</code> &lt;- Should I do that or is that something that should be avoided? I am aware that I <strong>'can'</strong> but <em>should</em> I?</li>
  <li>I want to extend Rectangle class because of the <code>contains()</code> and <code>intersects()</code> methods; should I be doing that or should I be doing something else for 2D collision detection in Java?</li>
  </ol>