MCPcopy Create free account
hub / github.com/apna-college/Alpha / print

Method print

12_LinkedList.java/DLL.java:31–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 public void print() {
32 Node temp = head;
33 while(temp != null) {
34 System.out.print(temp.data+"<->");
35 temp = temp.next;
36 }
37 System.out.println("null");
38 }
39
40 public int removeFirst() {
41 if(head == null) {

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected