Summary

In this chapter, we had a look at the collections framework and the three types of collection: List, Set, and Map. We explored ArrayList in the List collection, and also explored an example of ArrayList. The Set collection is different from ArrayList—the major difference is that Set does not accept duplicate values. In the last collection, that is, the Map collection, we saw two types, HashMap and HashTable, and the differences between the two.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.149.168