File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Oct 17, 2000
Oct 30, 2000 23:57:00
I found this question from mock exame.
Which of the following can contain duplicate elements.
Given answers is 'a' and 'b'.
How is 'a' is a answer.
Joined: Oct 24, 2000
Oct 31, 2000 00:12:00
API says "Some collections allow duplicate elements and others do not "
So I guess, you cannot really say a) is true.
I have come across this kind of answer before... and I wondered myself....
correct me if I am wrong here.. thanks
Sean <br />SCJP2, SCJP2p1.4, SCWCD
I agree. Here's the link:
Puzzling question from Mughal and Rasmussen
Interesting classpath question
A Poll, a Poll, a very simple Poll!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015