MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Method main

Java/Linked List/LinkedList.java:67–74  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

65
66 //Main function to run the LinkedList class
67 public static void main(String[] args){
68 LinkedList list = new LinkedList();
69 list.addAtEnd(new Node(5));
70 list.addAtEnd(new Node(7));
71 list.addAtFront(new Node(10));
72 list.addAtEnd(new Node(2));
73 list.print();
74 }
75
76}

Callers

nothing calls this directly

Calls 3

addAtEndMethod · 0.95
addAtFrontMethod · 0.95
printMethod · 0.95

Tested by

no test coverage detected