I’ve read many times what HashMap and ArrayList are, but I still can’t understand they use and how are they different from Vector for example.
I’ve read many times what HashMap and ArrayList are, but I still can’t understand
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
And
ArrayListis a container of the family ofLists that stores a sequence of objects such as “car1”, “car2”, etc…A
HashMapis a container of the typeMapwhich maps keys to values, such as “car1 => red”, “car2=>blue”, etc…