In this exercise, you will pactice creating a class that is a child of another class, one that you did not create and whose source code you cannot see.

Here are the files you need and the API you should use.

The file Student.java indicates that Student is a child of Person with the very first line:

    public class Student extends Person
It then declares 3 private attributes. You should not change any of this or add attributes or methods, either public or private, or any of the javadoc comments. All the constructors and methods are empty, perhaps with a dummy return value, so Student.java will compile. Your job is to complete all consturctors and methods according to the specification given in the API.

Download Date.class, Person.class and Student.java and put them all into the directory where you will be working. When downloading them, you may have to right-click on them and then choose "save link as .." or something similar. Then the very first thing you should do is to make sure that the downloaded Student.java compiles (it should). Then go about completing the constructors and methods.

As you complete the constructors and methods, be sure to avoid any privacy leaks, as explained in class and in the text.

When you have finished creating the file Student.java submit it with the following command on prism:

    % submit 1030 Exercise4 Student.java