Q18
What is the purpose of the clear() method for sets?
A.
Removes all elements from the set
AnswerB.
Adds an element to the set
C.
Removes the last element
D.
Deletes the set
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board