title: How get next date by passing current Date in java
body: <p>How do I get the next date(2014/03/21) given the current date(2014/03/20) in Java?</p>
  
  <h2>Code:</h2>
  
  <pre><code> public static String getNextDate(String  curDate) {
           String nextDate="";
          try {
             //here logic to get nextDate
          } catch (Exception e) {
              return nextDate;
          }
          return nextDate;
      }
  </code></pre>