Which of these statements is correct?
a. A set is an ordered collection with no duplicates.
b. A bag is an unordered collection which may contain duplicates.
c. A list is an ordered collection which cannot contain duplicates.
d. An array is an unordered collection which can contain duplicates.
The correct statement is:
b. A bag is an unordered collection which may contain duplicates.
Here is a brief explanation for each option:
Answered By