title: Why is the exception not triggered for division by zero here?
body: <p>(<em>This is a follow up question to <a href="https://stackoverflow.com/questions/12130659/why-is-this-exception-is-not-printed-why-is-it-showing-an-error">Why is this exception is not printed? Why is it showing an error?</a></em>)</p>
  
  <p>Here in the below code why is the ArithmeticException not triggered?</p>
  
  <pre><code>class Exp
  {
      public static void main(String args[])
      {
          float d,a=1;
          try
          {
              d=0;
              a=44/d; //no exception triggered here.. why?
              System.out.print("It's not gonna print: a="+a); 
          }
          catch(ArithmeticException e)
          {
              System.out.println("Print exception: "+e);
          }
      }
  } 
  </code></pre>
  
  <p>Instead the output is:</p>
  
  <pre class="lang-none prettyprint-override"><code>It's not gonna print: a=Infinity
  </code></pre>
  
  <p>What happens?</p>