Problem:
Question 1- Design and code a class called Date that includes two integer instance variables, day and year, and a String variable called month. Include a parameterized constructor, toString, and equals method.
Question 2- Design and code a class called Car that includes the following instance variables: double dealerCost, integer idNumber, Date dateArrived, integer modelYear, and String makeModel. You should have a parameterized constructor, toString, and equals method (have the same modelYear, dateArrived, and makeModel).
Step by step instructions so I can understand would be greatly appreciated!