I have a question about the variables inside the static method. Does the variables inside the static method shares the same memory location or would the have separate memory?
Let me make an example.
public class XYZ
{
Public Static int A(int value)
{
int b = value;
return b;
}
}
If 3 different user calls execute the method A
XYZ.A(10);
XYZ.A(20);
XYZ.A(30);
at the same time. What would be the return values of each call?
XYZ.A(10)=?
XYZ.A(20)=?
XYZ.A(30)=?