2. As noted in the text, defining a Date class instead of a date structure is more consistent with the notion of object-oriented programming. Define such a class with appropriate setter and getter methods.Also add a method called dateUpdate to return the day after its argument. Do you see any advantages of defining a Date as a class instead of as a structure? Do you see any disadvantages?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here