What is the difference between Composite and Collection>

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin Farr
    New Member
    • Dec 2010
    • 2

    What is the difference between Composite and Collection>

    What is the difference between a composite class and a list or collection of classes?
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    #2
    Kevin,

    This sounds suspiciously like a test question.

    If not, look at the dictionary definition of "composite" , and the JavaDoc for java.util.Colle ction. The difference should be obvious.

    Cheers!
    Oralloy

    Comment

    Working...