title: How to view Java compiled code
body: <p>I have this ClassParent class</p>
  
  <pre><code>class ClassParent&lt;T&gt; {
  
      public void set(T t)
      {
           //setter code 
      }
  }
  </code></pre>
  
  <p>Then I have this ClassChild extending the ClassParent</p>
  
  <pre><code>class ClassChild extend ClassParent&lt;String&gt; {
  
      public void set(String str)
      {
           //setter code
      }
  }
  </code></pre>
  
  <p>Instantiating a new instance of ClassChild class.</p>
  
  <pre><code>ClassParent&lt;String&gt; child = new ClassChild();
  </code></pre>
  
  <p>Clearly, to preserve polyporphism, java compiler will create a bridge method in the <code>ClassChild</code> class. My question is, after I compiled the code using <code>javac</code> command, I want to see how the compiled code looks like, but I don't know how to do it. I opened the <code>.class</code> file using NotePad++, but I just saw gibberish. How do I view the compiled code is my question. I am new to programming in general. Thank you </p>