title: In java my toString() is not working as I expected
body: <p>I have this code and thought that the <code>toString()</code> that I overrides would fire in both sub and superclass</p>
  
  <pre><code>public class Person  {
      @Override
      public String toString(){
         System.out.printLn("im in Person  ");
         return "im in Person  ";
      }
  }
  
  public class Student extends Person {
      @Override
      public String toString(){
  
         System.out.printLn("im in Student");
         return "im in Student";
      }
  }
  
  
  Student s = new Student();
  
  System.out.println(s.toString());
  </code></pre>