title: I can't use math methods in Java
body: <p>I need to use "hypot" method in my Android game however eclipse says there is no such a method. Here is my code:    </p>
  
  <pre><code>import java.lang.Math;//in the top of my file
  float distance = hypot(xdif, ydif);//somewhere in the code
  </code></pre>