Why does the ArrayList implementation use Object[]?
Asked 2012-12-08T10:22:29.907
15
In Java ArrayList<E> implementation base on a array of objects.
Can anybody explain me why implementation of ArrayList<E> uses array Object[] for data storage instead of E[]? What the benefit of using Object[]?