In an Arraylist, As Each item is stored as an object, During Sorting and
traversing the list, it must be typed at runtime, and then compared for sorting/searching wheareas Generic list has all items typed compile
time, which saves a lot of workload during sorting and searching.
Asked In: Many Interviews |
Alert Moderator