subject

In this assignment you are required to extend the linkedlist. java file to include the methods: addlist, subtractlist, and reverselist:

1. addlist:

this method is supposed to take another linked list as a parameter, and add the contents of this linked list to the calling instance's linked list. adding the elements should only be done if the element does not already exist. all elements to be added should be added at the end of the linked list.

2. subtractlist:

this method does the opposite of addlist. it is to take another linked list as a parameter and remove the contents of this linked list from the calling instance's linked list. elements are only removed if they exist.

3. reverselist()

no parameters passed, but it should reverse the contents of the list.

what to do and what to submit?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 14:00
Are segments of dna that determine traits and are passed down from parents to offspring.
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
How can the temperature of a room be raised by 5degreesf?
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Type the correct answer in the box. spell all words correctly. what is the default margin width on all four sides of a document? by default, the document has a margin on all four sides.
Answers: 1
question
Computers and Technology, 24.06.2019 20:50
Which key function of a business involves finding, targeting, attracting, and connecting with the right customers?
Answers: 3
You know the right answer?
In this assignment you are required to extend the linkedlist. java file to include the methods: add...
Questions
question
Mathematics, 01.12.2021 20:30
question
English, 01.12.2021 20:30
question
Mathematics, 01.12.2021 20:30
question
Mathematics, 01.12.2021 20:30
question
Business, 01.12.2021 20:30
question
Mathematics, 01.12.2021 20:30
question
Mathematics, 01.12.2021 20:30
question
Mathematics, 01.12.2021 20:30
Questions on the website: 13722362