Copyright (c) Qusay H. Mahmoud
53
Holder Classes
lUsed to implement “out” and “inout” parameters to CORBA operations.
lWhy do we need them?
l void op(inout long x); // alter the value of x
lBut in Java:
l int x = 10; op(x);// op is not allowed to change x
lHowever, “out” or “inout” mean that the actual value of the parameter will be changed.