Question: By JAVA QUESTION 1 0 points Create a class called Date that includes three pieces of information as instance variables - 1. a month (type
QUESTION 1 0 points Create a class called Date that includes three pieces of information as instance variables - 1. a month (type int). 2. a day (type int) and 3. a year (type int). . Your class should have a constructor that initializes the three instance variables and assumes that 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 (0) Write a test application named DateTest that demonstrates class Date's capabilities
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
