title: Static method from servlet
body: <p>I'm writing my Servlet application and would like to use the following static method which will multiply x and y.</p>
  
  <pre><code>public class Helper {
      private Helper() {
          throw new AssertError();
      }
  
      public static int mutltiply(int a, int b) {
          int c = a*b;
          return c;
      }
   }
  </code></pre>
  
  <p>I understand that Servlets are multi threading environment. Is it safe to call such method from the servlet? </p>
  
  <p>should I add synchronize property to this function? My concert is regarding value of c variable under multi threading. </p>
  
  <p>I'm new in Java so this information would be very helpful.</p>
  
  <p>Danny.</p>