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 16:10
Which is a benefit of peer-to-peer networking? easy to add or remove devices main server has a fast processor more reliable than a client/server network same software versions on all computers
Answers: 3
question
Computers and Technology, 22.06.2019 09:40
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
question
Computers and Technology, 23.06.2019 04:00
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
Respond to the following in three to five sentences. select the workplace skill, habit, or attitude described in this chapter that you believe is most important for being a successful employee.
Answers: 1
You know the right answer?
In this assignment you are required to extend the linkedlist. java file to include the methods: add...
Questions
question
Health, 27.07.2019 16:00
question
Business, 27.07.2019 16:00
question
Mathematics, 27.07.2019 16:00
Questions on the website: 13722363