### Question:
SinglyLinkedList { public void delete(Integer index) { this.checkIndexOutOfBound(index); Node<T> wantDeleteLastNode = head; for (int i = 0; i < index; i++) { wantDeleteLastNode = wantDeleteLastNode.next; } wantDeleteLastNode.next = wantDeleteLastNode.next.next; this.length -= 1; } SinglyLinkedList(); void addAtStart(T t); void addAtEnd(T t); void printAll(); Integer getLength(); void delete(Integer index); T get(Integer index); SinglyLinkedList<T> reverseWithNew();  }### Answer:
@Test void delete() { stringList.printAll(); stringList.delete(0); stringList.printAll(); stringList.delete(2); stringList.printAll(); stringList.delete(2); stringList.printAll(); }