What is the need of collection framework in java?

Posted by JavaUser on Stack Overflow See other posts from Stack Overflow or by JavaUser
Published on 2010-03-23T02:17:13Z Indexed on 2010/03/23 2:21 UTC
Read the original article Hit count: 282

Filed under:

Hi,

What is the need of Collection framework in Java since all the data operations(sorting/adding/deleting) are possible with Arrays and moreover array is suitable for memory consumption and performance is also better compared with Collections.

Can anyone point me a real time data oriented example which shows the difference in both(array/Collections) of these implementations.

Thx

© Stack Overflow or respective owner

Related posts about java