This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Q on Jxam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Q on Jxam" Watch "Q on Jxam" New topic
Author

Q on Jxam

Barkat Mardhani
Ranch Hand

Joined: Aug 05, 2002
Posts: 787
Q: Choose the class that can hold multiple equal objects in an ordered way.
options: Map, Collection, List, Set, Vector
The given answer is List. I believe answer should be Vector as question is asking for a class not interface. List is an interface that is implemented in Vector class.
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
As the question is worded, you are correct. The question asked for a class so List shouldn't be a valid answer.


SCJP Tipline, etc.
Max Habibi
town drunk
( and author)
Sheriff

Joined: Jun 27, 2002
Posts: 4118
You're right, List is an interface. And I also agree with you that answer should have been Vector.
M


Java Regular Expressions
Barkat Mardhani
Ranch Hand

Joined: Aug 05, 2002
Posts: 787
Thanks guys. I hope creater of Jxam would see this post...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Q on Jxam
 
Similar Threads
regarding collections
collections
Questions from abHilash's mockexam
Jxam
JXAM: Vector vs. List