HOW two Add Duplicate Values in SET | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 1

HOW two Add Duplicate Values in SET

is It possible to add or not? if yes then How??

10th Nov 2016, 6:08 AM
Mukesh Kumaar
Mukesh Kumaar - avatar
2 Antworten
+ 4
unsure about which language you are questioning.... but java for instance have the HashSet object which allows to create a list of values WITH NO repetition of values (that is a key property of a set) ArrayList however can have all the repetitions you'd want
10th Nov 2016, 7:28 AM
Burey
Burey - avatar
0
yeah..thats all i know.. but my Boss given Me a task to perform that Insert duplicate Values in a Set 😞
10th Nov 2016, 8:33 AM
Mukesh Kumaar
Mukesh Kumaar - avatar