0
/ 10
Consider the following class definition:
class Link{
Object data;
Link next;
}
Write the required statements to make the variable r refer...
Consider the following class definition:
class Link{
Object data;
Link next;
}
Write the required statements to make the variable r refer to the Node with info '2'. 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.