Java code
Question
I am currently struggling a bit with this Java code assignment. Would a tutor be able to assist me with a better
understanding to follow? thank you.
(Date Class): a class called Date that includes 3 instance variables—a month (type int), a day (type int), and a year (type int). Provide a constructor that initializes the 3 instance variables and assumes the values provided are correct. Provide a set and a get method for each instance variable. Provide a method displayDate that displays the month, day, and year separated by forward slashes(/). a test application named DateTest that demonstrates class Date’s capabilities.