sql.date vs util.date
<p>As we have two date classes: <code>java.sql.Date</code> and <code>java.util.Date</code>. Whats the reason <a href="http://download.oracle.com/javase/6/docs/api/java/sql/ResultSet.html#getDate%28int%29" rel="nofollow"><code>ResultSet#getDate()</code></a> returns the <code>sql.Date</code> not <code>util.Date</code>? <br />
Agreed that <code>sql.Date</code> extends <code>util.Date</code>. But whats the reason of creating new class altogether when most of the methods in both the classes looks same?</p>
