Date.java And Incdate.java
September 28th, 2009
Comments off
27. create a date class and an inc class.in the inc class you must create the code for the increment method. A year is a leap year if either (1) it is divisible by 4 but not by 100 or (2) it is divisible by 400. Create an application using these classes.
modify your IncDate class from exercise 27 so that it provides an increment method that accepts an arguement numDays of type Int and modifies the date so that it is numDays later.


