I have no idea how to do this:
Create a class called Date that contains three pieces of information as instance variables – a month, day and year e.g. 4, 14, 2007. All three of type int. Your class should have a constructor that initializes the three instance variables. Provide a set and a get method for each instance variable. Provide a displayDate method that displays the month, day and year separated by forward slashes (/). Provide a calcAge method to calculate and display the person’s age in years. The method should receive the current year as a parameter (type int). A get method must return the age.
Write a test application called testDate that will test Date class. Assume the initial values are 10, 23, 2005