Computers and Technology

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?

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 05:00, yddlex
Modern businesses use different technologies to accomplish work tasks
Answers: 2
image
Computers and Technology, 22.06.2019 16:20, Aleja9
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
image
Computers and Technology, 24.06.2019 03:30, ava1018
The footer area of a web page generally houses which website feature? terms of use web page content business name or title menu headings
Answers: 1
image
Computers and Technology, 24.06.2019 10:00, zlittleton2008
Which feature of a blog to restore and retrieve older post
Answers: 3
Do you know the correct answer?
In this assignment you are required to extend the linkedlist. java file to include the methods: add...

Questions in other subjects: