Answer Posted / srikanth
arraylist is used for storing collection of elements with
duplicates
they can store only keys
it is extending list interface
hashmap
--------
hashmap is used for storing collection of elements with key
value pair without duplicates in unordered way
it is extending map interface
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How does event listener work in java?
What is jetty in java?
What is callback methods Component methods called by the container to notify the component of important events in its life cycle?
What every java developer should know?
Is eclipse written in java?
What is home interface?
What does the application client module contain?
Define the struts in the j2ee framework?
In DAO we are writting sql queries , how it is possible with creating and closing database connections.
What is assembly in java?
i want test pattern of zylog company and some examples also
What is bean factory, have you used xmlbean factory?
What is java web technologies?
What are the main components of multi-tier architecture?
What is java servlet container?