In this article, we will try to understand Java Collection Framework from very basic. This will be a series of articles which will cover every aspect of Collection in step-by-step manner. Let’s get started.

Photo by Pascal Brokmeier on Unsplash

Need for Collection Framework 💡

Let’s suppose, you want to represent huge number of values then using separate variable for each value is not a good programming practice. Hence, to overcome this problem, we can go for Array concept.

Array
An Array is an indexed collection of fixed number of homogeneous data elements. The main advantage of arrays is, we can represent multiple values by using single variable. …

Avinash Tingre

Software Engineer. Jack of all trades; master of none :)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store