51. Which of the following places no constraints on the type of elements, order of elements, or repetition of elements with in the collection.? A) Collection B) collection C) Map D) Set Answer: B can somebody give an explaination? thanks.
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
Ummmm... not a clue. I have no idea what the significance of a "collection" with a lower case "c" might be.
Originally posted by Thomas Paul: Ummmm... not a clue. I have no idea what the significance of a "collection" with a lower case "c" might be.
so, the question in JavaCap maybe a typo? answer Collection should be correct then, right?
Rehan Malik
Ranch Hand
Joined: Jul 09, 2001
Posts: 76
posted
0
Originally posted by Haining Mu: 51. Which of the following places no constraints on the type of elements, order of elements, or repetition of elements with in the collection.? A) Collection B) collection C) Map D) Set Answer: B can somebody give an explaination? thanks.
I'm guessing it might be a trick question?? If "collection" class does not exist, then it can't have any constraints I'm assuming. i might be wrong. But that question is a little misleading in that case.
Rehan Malik
yaeger rosenberg
Greenhorn
Joined: Aug 04, 2001
Posts: 6
posted
0
Isn't there a limitation on types in a collection; i.e. non-primitive? If so, then the wording of the question is a bit ambiguous
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
I think it comes back to what is the significance in the mind of the person who wrote this question of a collection with a lower case c? I would say that the correct answer is none of the above. ------------------ Tom - SCJP --- Co-Moderator of the Programmer Certification Forums
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.