Explain me what's the df. between a collection and a set
Answers
Answered by
70
Hey!
____
____________________________________________________________
→ What's the difference between a collection and a set ?
=> The main difference is that by default , every set is a collection of some or the other objects . But every collection is not necessarily a set . Only a collection of well defined and different objects is called a Set.
For Example ,
=> The collection of best players of cricket isn't a set ✖
=> The collection of months in a year is a set ✔
•°• Thus, this is the basis difference between the 2 terms!
____________________________________________________________
____
____________________________________________________________
→ What's the difference between a collection and a set ?
=> The main difference is that by default , every set is a collection of some or the other objects . But every collection is not necessarily a set . Only a collection of well defined and different objects is called a Set.
For Example ,
=> The collection of best players of cricket isn't a set ✖
=> The collection of months in a year is a set ✔
•°• Thus, this is the basis difference between the 2 terms!
____________________________________________________________
Answered by
0
Answer:
the action or process of collecting someone or something.-collection
put, lay, or stand (something) in a specified place or position.-Set
did this help you mark as braineslt if did
Similar questions