Hi there. I'm new to this forum and Java. I'm currently taking a class in Java and was hoping someone could help me out. I'm stuck and I don't know what to do. Here is the question-
Write a program that generates a Day object
representing February 28 of this year, and three more such objects that represent
February 28 of the next three years. Advance each object by one day, and print each
object. Also print the expected values.
Expected Results
----------------
2015-02-28 + one day == 2015-03-01
Expected: 2015-3-1
2016-02-28 + one day == 2016-02-29
Expected: 2016-2-29
2017-02-28 + one day == 2017-03-01
Expected: 2017-3-1
2018-02-28 + one day == 2018-03-01
Expected: 2018-3-1
Any help would be greatly appreciated!