aspose file tools*
The moose likes Mock Exam Errata and the fly likes JavaCaps mock 1 Q:51 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "JavaCaps mock 1 Q:51" Watch "JavaCaps mock 1 Q:51" New topic
Author

JavaCaps mock 1 Q:51

Haining Mu
Ranch Hand

Joined: Jun 01, 2001
Posts: 51
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
Ummmm... not a clue. I have no idea what the significance of a "collection" with a lower case "c" might be.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Haining Mu
Ranch Hand

Joined: Jun 01, 2001
Posts: 51
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
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
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
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
 
wood burning stoves
 
subject: JavaCaps mock 1 Q:51