Create a Java application named Problem14 using the twofiles provided to you—Date.java andProblem14.java (both located below)—then change the codeto add a non-trivial public,non-static method to the Dateclass (#1) .You must also transform theapplication program to “drive” Date to test your new method.
#1. Increment a Date to the next day (for example, 1-31-2011increments to 2-1-2011; 12-31-2010 increments to 1-1-2011). NotesHere, and other items below, “a Date” is the implicitparameter that this points to (OOPS! thatthis references). this is available in everynon-static member function. Re-write the Date member functionsInput() and Output() to use dialogboxes to accomplish input and output of Date objects.
Run
PayPal Gateway not configured
PayPal Gateway not configured