+ 4
Arrays vs Collections
what really is the difference between arrays and collections they basically seem to do the same thing why do we need two of them
3 Antworten
+ 6
Collections is a separate framework which is designed to handle data structures easily so that you can focus more on the logic building part of your program.
Collections is an interface which is broken down into other interfaces-
1) Set
2) List
3) Queue
4) Deque
Collections provide various functions which make your data manipulation easy when compared to arrays.
0
Array is fixed unlike collections.