M
M
I have a class with a constructor:
public nerd(int userId, int locNo, int divNo)
{
location = 1010;
}
If I call a method/func that uses the above, like so:
public nerd myMethod(1,1111, 0)
the return object shows a location value of 1010, not 1111!
Why is this?
Thank you !
public nerd(int userId, int locNo, int divNo)
{
location = 1010;
}
If I call a method/func that uses the above, like so:
public nerd myMethod(1,1111, 0)
the return object shows a location value of 1010, not 1111!
Why is this?
Thank you !