Question: (Java) This is a delete method for a linked list, add a system print or something when the item I want to delete isnt in

(Java)  (Java) This is a delete method for a linked list, add
This is a delete method for a linked list, add a system print or something when the item I want to delete isnt in the linked list
This is the method I want to use so please help me without writing a different code but instead add upon this code

public void Delete(int item) f if (IsEmpty) ) Node 1-headNode; Node m headNode.link; while ((m.datum!- item)&& (m endNode)) f 1 01 m m.link; 1- 1.link f (m.datum..item) { 1.link-m.link

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!