Java only supports pass by value. With objects, the object reference itself is passed by value and so both the original reference and parameter copy both refer to the same object .
Java only supports pass by value. With objects, the object reference itself is passed by value and so both the original reference and parameter copy both refer to the same object .
AartiPosted Nov 17, 2011, 1:56 AM
AartiPosted Nov 17, 2011, 1:56 AM