Question: public void getBack(T s) { myNode temp = header; while (temp != null) { if (s.compareTo(temp.getInfo()) == 0) { if (temp.getLink() == null) System.out.print(There is
public void getBack(T s) { myNode temp = header; while (temp != null) { if (s.compareTo(temp.getInfo()) == 0) { if (temp.getLink() == null) System.out.print("There is no student in the back"); else System.out.print("The student in the back is " + temp.getLink().getInfo()); } temp = temp.getLink(); } }
I NEED A PSEUDO CODE FOR THIS METHOD (HAS START AND END)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
