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 is jaxr client?
What is j2ee component?
What is java ee sdk?
What is instance in java?
What are j2ee technologies?
What is callback methods?
What are the different types of events in java?
What is container-managed transaction?
What is commit?
Which framework is best for java?
How is java development environment setup?
What is context attribute?
How does j2ee application work?
What is a j2ee component?
What is web container in j2ee?