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
Explain the four types of container that the j2ee specification defines
What is java netbeans?
What is j2ee application model?
What is a j2ee component?
How does j2ee application work?
Describe the file types *.ear, * .jar and *.war?
What is deployer?
Is java more difficult than c++?
What are the different java technologies?
What are the tools in java?
Which compiler is used in java?
Is java is fully object oriented?
What is a j2ee container?
What is setbounds in java?
Is java procedural or object oriented?