0
/ 10
Consider the following class definition:
class Link{
Object data;
Link next;
}
Use a single assigment to set the info of the Node...
Consider the following class definition:
class Link{
Object data;
Link next;
}
Use a single assigment to set the info of the Node referred to by p equal to the info of the Node reffered to by r. You must access this info through r. Do not refer to the character 3 directly. It is given that the list L contains the elements [1,2,3] and p points to 1 and r points to 3.
![]() |
![]() |
Initial Setup | Final Configuration |
Your feedback will appear here when you check your answer.