ArrayList vsLListArrayList and LList provide many of the same methods. These are enumerate...
ArrayList vsLList
ArrayList and LList provide many of the same methods. These are enumerated in ListInterface. However, LList provides three methods not provided by ArrayList. These are
• void reset(),
• boolean hasNext(), and
• E next().
Explain why ArrayList does not implement these methods. Why are these methods included in the implementation of LList ?
Step-by-Step Solution
Request Professional Solution
Request Solution!
We need at least 10 more
requests to
produce the solution.