collections is group of object as name suggest. Primitve data type can hold only one data. Integer type primitive can hold integer and floating type can hold floating data. Object of class will hold properties data ( variable data ). Array is also one kind of collection. We can have primitive data array and object array.
Java Collection allows a group of object as single unit. Object can be added, removed, modified in group. Java collections api provides many features and allows each object in collection to manipulate individually. Java util packages contains three main parts
1. Core Interface
2. Set of Implementation Class
3. Utility method in Collections and Arrays Class
1. Core Interface
2. Set of Implementation Class
3. Utility method in Collections and Arrays Class
0 comments:
Post a Comment