Which most closely matches a description of a java Map A vector of arrays for a 2D geographical representation//f A class for containing unique array elements//f A class for containing unique vector elements//f An interface that ensures that implementing classes cannot contain duplicates //true
Siddhu
Ranch Hand
Joined: Oct 02, 1999
Posts: 31
posted
0
Yes you are rigth shan, the answer is 4) An interface that ensures that implementing classes cannot contain duplicates
Tony Alicea
Desperado
Sheriff
Joined: Jan 30, 2000
Posts: 3215
posted
0
That question was incorrect and I think it's being corrected in Marcus' site. It's from gEs which was JTest beta before that, and free. The answer has to add keys after "duplicate". No duplicate KEYS. a SET does not allow duplicate elements.
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD