title: Why can't a "Class" variable be passed to instanceof?
body: <p>Why doesn't this code compile?</p>
  
  <pre><code>    public boolean isOf(Class clazz, Object obj){
          if(obj instanceof clazz){
              return true;
          }else{
              return false;
          }
      }
  </code></pre>
  
  <p>Why I can't pass a class variable to <code>instanceof</code>?</p>