Home » Interview » Technology

What is the Set interface ?

Correct Answer: - The Set interface provides methods for accessing the elements of a finite mathematical set - Sets do not allow duplicate elements - Contains no methods other than those inherited from Collection - It adds the restriction that duplicate elements are prohibited - Two Set objects are equal if they contain the same elements

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion