i have a vector holding objects. i want to clone it. if the vector is called v can i say:
?
will this be a complete new copy without any reference to the old one? if i make changes to v do i see those changes in newVector?
thankyou
Code:
Vector newVector = (Vector)v.clone();
will this be a complete new copy without any reference to the old one? if i make changes to v do i see those changes in newVector?
thankyou