0
/ 10
Consider the following class definition:
class Link{
Object data;
Link next;
}
Write a single assignment statement to remove the Node...
Consider the following class definition:
class Link{
Object data;
Link next;
}
Write a single assignment statement to remove the Node with info 'B' from the linked list headed by p. Given that the list L contains the elements [A,B,C] and p points to A and q points to C. You must refer to both p and q in your assingment statement.
Initial Setup | Final Configuration |
Your feedback will appear here when you check your answer.