title: Why does this happen when I call method from a subtype object using a different supertype variable and viceversa
body: <p>Sorry about giving printscreen and not code snippets. Here is a printscreen of what my program displays when i run it</p>
  
  <p><img src="https://i.stack.imgur.com/N1Ant.png" alt=""></p>
  
  <p>Ignoring line 19 and 20 in this program, my question is: Why do we have a differnce of what it is printed out when I call the static methods and when i call the overriding methods? Shouldn't the overriding methods display the same thing that was displayed when i called the static methods?</p>