title: Checking the validity of a date
body: <p>If I am given some random date, then I need to check if that date really exists or not and then display <code>true</code> or <code>false</code>. I need to return <code>false</code> for both the dates <code>32-11-2010</code> and  <code>31-02-2010</code> because the month of february doesn't contain 31st. How do we do this in Java? </p>