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.
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.
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. …
Software Engineer. Jack of all trades; master of none :)