wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

what is the difference between collection and set?

Open in App
Solution

A set is a well defined collection of objects. The objects can not be repeated in a set.

Collection represents a group of objects. The objects can be repeated in a collection of objects. The collection of objects may or may not be well defined.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Internal Trade
BUSINESS STUDIES
Watch in App
Join BYJU'S Learning Program
CrossIcon