Answer to Question #52116 in Java | JSP | JSF for Atish Bhavsar

Question #52116
Why List allows duplicates while Set not?
1
Expert's answer
2015-06-04T03:34:37-0400
Answer. A lot of programming constructions came frommath. The List structure is analogue of math structure call sequence and the
Set structure is analogue of math structure called set. In math. In math, a set
is a collection of distinct objects and sequence is just an enumerated
collection of objects. 

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS