Answer Posted / srikanth
Arraylist is an ordered collection.of objects
they store their elements in index.rotation
Duplicate values are also allowed.
they show their elements in order ie... added order
But in hashmap is also ordered collection but don't contain
duplicate values.
Hashmap use key value for any object access.
hashmap allow null values
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the modules of j2ee?
Is java safe to download?
What is delegation?
What is entity reference?
What is devops in java?
What is comment?
What is data?
What are the j2ee technologies?
What are the different types of events in java?
What is component in java with example?
What is javabeans component?
What is java naming and directory service?
What is j2ee explain the component of j2ee application?
What is j2ee called now?
What is non primitive data type in java?