Collections can be implemented in many ways. There is no single implementation that is the most correct. In one approach, some operations are fast, but others are slow. The opposite can be true for another approach. There is no perfect one-size-fits-all solution. We won't torture you by making you choose. Let's just immediately create two different types of lists: LinkedList and ArrayList.
LinkedList and ArrayList
- 2
Locked
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Sarvesh
28 February 2019, 14:23
Should i have to create an object for both List in main method and then implement them in respective methods ?
Help me with code please ....
0
Israel Herrera Cabello
31 January 2022, 23:26
Hi, It does not ask you to call the methods in the main, but simply implement the code so that each method works. As a hint it is not necessary to put the generic parameter <>
0