Question: Hi can I get some help for this question. I saw other post which the question is an indication to find the alias of b

Hi can I get some help for this question.
I saw other post which the question is an indication to find the alias of b (what you would you think this is asking the alias of b?)
if this is the case
does this mean, when a is alias to b , then a is pointed to b, therefore the content on a (new A) is no longer pointed to heap, and that's when point 1 became a garbage?
can you elaborate a bit more?
Many thanks!
Consider the following (Java-like) code fragment in which A is a class that has a field (attribute) named next and can have other fields that are not referenced in the code. Assignment has sharing semantics. The first point at which the memory location allocated at point 1 becomes garbage is point: 3 4 5 6 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
