title: Math.random() in Java
body: <p>I have 2 classes in the same project and I'm using <code>Math.random()</code> in both of them.
  In the first all works fine, but at the second it says that <code>random()</code> is undefined.
  "The method <code>random()</code> is undefined for the type Math"   </p>
  
  <p>Any solutions?</p>