186k views
3 votes
If two variables contain aliases of the same object then

a. the object may be modified using either alias
b. the object cannot be modified unless there's a single reference to it
c. a third alias is created if/when the object is modified
d. the object will become an "orphan" if both variables are set to null
e. answers a and d are both correct

User Glenn
by
7.3k points

1 Answer

4 votes
the correct answer here is D
User TDM
by
7.3k points