0

How do you find the union of the set with a given set? OUTPUT: a Set object. I am so lost.

Java

16th Sep 2019, 4:00 AM
Ify Nonyelu
2 Antworten
+ 1
A union of two sets is when the item is found in one of the sets (A∪B). The simplest way to do it is: A.addAll(B)
16th Sep 2019, 4:22 AM
Airree
Airree - avatar
0
Ok, i see, thank you
16th Sep 2019, 4:36 AM
Ify Nonyelu