Which one is true in case of collections?

Options
- A Set will not allow duplicate elements
- A List will allow duplicate elements
- both a and b
- Neither a nor b


CORRECT ANSWER : both a and b

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement