What are the Easy ways to understand the collections in JAVA? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are the Easy ways to understand the collections in JAVA?

20th Jun 2017, 8:35 AM
ARAVIND BALAJI
ARAVIND BALAJI - avatar
2 Answers
+ 4
Well, to simply say, collections are things where you can store objects. Like in real world you could store items in a box, you do the same in programming using collections. Easiest way to understand how they work is to just play with them. Create programs using different collections. Understand how they work, what can you do with them. When you will have experience with them, you can understand how they are different from each other and know when it is best to use which collection.
20th Jun 2017, 10:01 AM
Eligijus Silkartas
Eligijus Silkartas - avatar
+ 1
like Lists?
20th Jun 2017, 8:39 AM
Limitless
Limitless - avatar