This topic contains a solution. Click here to go to the answer

Author Question: Which of the following is correct to perform the set difference of two sets s1 and s2? (Read 31 times)

ereecah

  • Hero Member
  • *****
  • Posts: 530

Question 1

Which of the following is correct to perform the set union of two sets s1 and s2?
◦ s1 + s2
◦ s1.union(s2)
◦ s1.addAll(s2)
◦ s1.add(s2)

Question 2

Which of the following is correct to perform the set difference of two sets s1 and s2?
◦ s1.removeAll(s2)
◦ s1.difference(s2)
◦ s1 - s2
◦ s1.subtract(s2)


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by ereecah on May 6, 2020

reelove4eva

  • Sr. Member
  • ****
  • Posts: 332
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 39% of students answer this correctly




ereecah

  • Member
  • Posts: 530
Reply 2 on: May 6, 2020
Wow, this really help


amandalm

  • Member
  • Posts: 306
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

The Babylonians wrote numbers in a system that used 60 as the base value rather than the number 10. They did not have a symbol for "zero."

Did you know?

The average person is easily confused by the terms pharmaceutics and pharmacology, thinking they are one and the same. Whereas pharmaceutics is the science of preparing and dispensing drugs (otherwise known as the science of pharmacy), pharmacology is the study of medications.

Did you know?

Vampire bats have a natural anticoagulant in their saliva that permits continuous bleeding after they painlessly open a wound with their incisors. This capillary blood does not cause any significant blood loss to their victims.

Did you know?

Atropine, along with scopolamine and hyoscyamine, is found in the Datura stramonium plant, which gives hallucinogenic effects and is also known as locoweed.

Did you know?

The newest statin drug, rosuvastatin, has been called a superstatin because it appears to reduce LDL cholesterol to a greater degree than the other approved statin drugs.

For a complete list of videos, visit our video library