✏️ Explanatory Question

Explain Set Interface?

👁 588 Views
📘 Detailed Answer
💡

Answer with Explanation

It is a collection of element which cannot contain duplicate elements. The Set interface contains only methods inherited from Collection and adds the restriction that duplicate elements are prohibited.