Why List allows duplicates while Set not?
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!
Learn more about our help with Assignments:
JavaJSPJSF