Computer Science, asked by RockAtIf1133, 3 months ago

Can one object be assigned to another? Justify

Answers

Answered by sagunsingh12081
1

Explanation:

Assigning one object to another just assigns the object reference (a pointer more or less). It does NOT copy member variables etc. In Java, objects are manipulated through reference variables, and there is no operator for copying an object—the assignment operator duplicates the reference, not the object..

hope u understand

Similar questions