InterviewSolution
| 1. |
What Is The Java Collection Framework? List Down Its Advantages? |
|
Answer» By definition, a collection is an object that represents a group of objects. Like in set theory, a set is group of elements. Easy enough !! Prior to JDK 1.2, JDK has some utility classes such as Vector and HashTable, but there was no concept of Collection framework. Later from JDK 1.2 onwards, JDK felt the need of having a consistent support for reusable data structures. FINALLY, the COLLECTIONS framework was designed and developed primarily by Joshua Bloch, and was introduced in JDK 1.2. Its most noticeable advantages can be listed as:
By definition, a collection is an object that represents a group of objects. Like in set theory, a set is group of elements. Easy enough !! Prior to JDK 1.2, JDK has some utility classes such as Vector and HashTable, but there was no concept of Collection framework. Later from JDK 1.2 onwards, JDK felt the need of having a consistent support for reusable data structures. Finally, the collections framework was designed and developed primarily by Joshua Bloch, and was introduced in JDK 1.2. Its most noticeable advantages can be listed as: |
|