No.
int
is a value type, not a reference. So when you execute
this.data = orig;
the value in
orig
is copied into
data
, not a reference to the original location. (References are not pointers, although they look like them most of the time).
If you rewrote your
test
method to go the other way:
orig = this.data;
Then the value of orig in the calling method will be changed, but subsequent changes to
data
outside the
test
method will not change it.