Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

is it Collection or collection ??  RSS feed

 
sarim raza
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the question that raised this question ...
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
CORRECT ANSWER IS B, BUT ISNT THE RIGHT NAME Collection??
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a trick question. Collection means the actual interface, collection means all of the interfaces, implementations and algorithms.
 
sarim raza
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Adrian,
but what do you think about the right answer, shouldnt it be Collection ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!