Do we need to synchronize add() method this class?
<p>If this class is used in multi-threaded environment and say 100 threads calling this method at same time .</p>

<p>Case 1 : instance method </p>

<pre><code>public class test {

  public int add(int a , int b ){

    return a+b ;
     }

}
</code></pre>

<p>case 2:  static method </p>

<pre><code>public class test {

  public static int add(int a , int b ){

    return a+b ;
     }

}
</code></pre>

<p>Please answer both cases .</p>
