subject

Create a linkedlist class that:

1. creates a linkedlist of string object in main (remember to import java. util\.\*; )
2. adds five strings to the linkedlist
3. prints out the items in the linkedlist
4. adds another string to the beginning of the list (remember you can use java's addfirst method)
5. adds another string to the end of the list (remember you can use java addlast method)
6. prints out the items in the linkedlist
7. get the first item in the linkedlist (remember you can use java's get method)
8. print the first item in the linkedlist
9. set the first item in the linkedlist (remember you can use java's set method)
10. print the first item in the linkedlist
11. remove first and last item in the linkedlist (remember java provides removefirst and removelast method
12. prints out the items in the linkedlist
13. use the add and remove method of the linkedlist to add and remove any element in the linkedlist
14. prints out the items in the linkedlist

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:30
Write 150 words on what kind of website would you like to make in the future? what sites would you like to model yours after?
Answers: 2
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Why do we mark tlc plates with pencil and not with pen
Answers: 2
question
Computers and Technology, 24.06.2019 20:30
How is energy expended in active transport
Answers: 1
You know the right answer?
Create a linkedlist class that:

1. creates a linkedlist of string object in main (reme...
Questions
question
Mathematics, 16.08.2021 17:30
question
Mathematics, 16.08.2021 17:30
question
Mathematics, 16.08.2021 17:40
question
Physics, 16.08.2021 17:40
Questions on the website: 13722367