title: Java @Override not working. Still executing Not Overridden Method
body: <p>When I execute the following little Program the method onStart() doesn't get overridden and I get the Output "onStartSuper". I already looked for similar problems, but found nothing that worked.</p>
  
  <p>Java Code:</p>
  
  <pre><code>public class main extends OSAATE {
  
      @Override
      public void onStart() {
  
          System.out.println("Start");
      }
  
  }
  
  public class OSAATE {
  
  public static OSAATE osaate;
  
      public static void main(String[] args) {
  
          osaate = new OSAATE();
  
          osaate.onStart();
      }
  
      public void onStart() {
  
          System.out.println("onStartSuper");
      }
  
  }
  </code></pre>