I was observing that ArrayList extends AbstractList and implements List.
Now AbstractList itself implements List. Given that, what was the need to ArrayList to implement List at all ?
Asked
Active
Viewed 49 times
1
JavaDeveloper
- 4,772
- 14
- 66
- 115
-
Interface is different from inheritance. An interface can be extended by another interface not by an class. It is not part of an class hierarchy. – Karthik Surianarayanan Feb 16 '14 at 06:02