.Static method in multi thread program
658018Jun 10 2010 — edited Jun 11 2010Dear Sir,
I'm using multi thread program so I want to know something of static methods how to use in multi threading
Example
public static int getSum (int a, int b){return a+b:}
When accessing this method at the same time by several thread How it is behavior ?
I'm meaning will it switch by another thread ?
and What is the simple this we need to think while using static method in multi threading program ?
Best regards
Kapila