Hi I need help with this question Which method do you invoke

Hi, I need help with this question.

Which method do you invoke to create a list of strings called mystrings add an integer 15 to the front of a singly linked list called myNumbers return the front element of a singly linked list called my Numbers

Solution

Create a list of trings called myStrings

Answer: SLinkedList myStrings

Add an integer 15 to the front of a single linked list called myNumbers

Answer: myNumbers.addFront(15)

Return th front element of a singly linked list called myNumbers

Answer: myNumbers.front()

Hi, I need help with this question. Which method do you invoke to create a list of strings called mystrings add an integer 15 to the front of a singly linked li

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site