difference between hashmap and array list in java?

Posted by Venkats on Stack Overflow See other posts from Stack Overflow or by Venkats
Published on 2010-03-07T09:46:25Z Indexed on 2010/04/05 9:33 UTC
Read the original article Hit count: 294

Filed under:
|
|

In java, ArrayList and HashMap are using in collections. But i couldn't understand at which situations we should use ArrayList and which time use HashMap. What is the major difference between both of them?

© Stack Overflow or respective owner

Related posts about java

Related posts about hashmap