title: Object.getClass().getSuperclass() not returning null?
body: <p>I have a function</p>
  
  <pre><code>public void get(Object s) {
  
    while (s.getClass().getSuperclass() != null) {
        s = s.getClass().getSuperclass();
    }
  }
  </code></pre>
  
  <p>The thing is that the <code>s.getClass().getSuperclass()</code> never returns <code>null</code>, even though <code>Object</code> has no superclass.</p>
  
  <p>I don't understand why this is happening, although I debugged the project several times.</p>