The constructor for
Student
contains one more parameter than the constructor for
Person
. You need to add a call to the parent constructor with the following code:
Student(String firstName, String lastName, int id, int[] testScores)
{
super(firstName, lastName, id);
[edit]
For a detailed explanation see
Classes (The Java™ Tutorials > Learning the Java Language > Classes and Objects)[
^].
[/edit]