lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

How do you use Hashmap, Hashset, ArrayList , [ ]

Wed Sep 02, 2015 6:24 pm

what's the difference between Hashmap and Hashset?

The difference betwen ArrayList versus Arrayname [ ]

razor
Posts: 13
Joined: Wed Sep 02, 2015 9:17 pm

Re: How do you use Hashmap, Hashset, ArrayList , [ ]

Wed Sep 02, 2015 9:21 pm

maps (hashpam) keep keys and corresponding values, sets keep only keys.
ArrayList is an implementation of List interface, handy class for managing list of objects.
array_name[] - is just an array (however it's a class too) - basic thing (something like basic type)

why don't you ask google? do you know what is google? :)

ghp
Posts: 1498
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
Contact: Website

Re: How do you use Hashmap, Hashset, ArrayList , [ ]

Fri Sep 04, 2015 1:16 pm

Hello,

see also the java tutorial, especially https://docs.oracle.com/javase/tutorial ... index.html

Regards,
Gerhard

Return to “Java”