title: The Object Class and Its toString()
body: <p>The superclass Student contains:
  a constructor  that accepts a String  corresponding to the name  of the school the student attends
  a toString method  that returns 'student at X' where X is the name  of the school the student attends.</p>
  
  <p>Write a class  definition for the subclass HighSchoolStudent containing:
  a constructor  accepting a String  which is used as a parameter  to the superclass constructor 
  a toString method  that returns 'high school student at X'. This method  must use the toString method  of its superclass.</p>
  
  <p>Instructor Notes: You are writing only the subclass. 
  In it you will have a constructor (which has a parameter - a string) it will call the superclass's constructor passing in this parameter to it. 
  It will also overwrite the tostring method by returning "high school" followed by what is returned in the superclass's toString method.</p>
  
  <pre><code>public class HighSchoolStudent extends Student
  {
      public String HighSchoolStudent()
      {
          return "high school student at "+super.toString();
      }
  }
  HighSchoolStudent.java:1: error: constructor Student in class Student cannot be applied to given types;
  public class HighSchoolStudent extends Student
         ^
    required: String
    found: no arguments
    reason: actual and formal argument lists differ in length
  1 error
  1 public class HighSchoolStudent extends Student
  2 {
  3   public String HighSchoolStudent()
  4   {
  5       return "high school student at "+super.toString();
  6   }
  7 }
  </code></pre>