title: Why is java both compiled and interpreted
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1326071/is-java-a-compiled-or-an-interpreted-programming-language">Is Java a Compiled or an interpreted programming language?</a>  </p>
  </blockquote>
  
  
  
  <p>Why is Java both compiled and interpreted language?</p>
  
  <p>We first compiles the java program using javac(compiling) and the run the program using java(interpreting). What is the advantage of that?</p>
  
  <p>Also, where does JIT role come into the picture?</p>