logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • 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 


  • Technology problems


    Search Results


    • 1. How do you decide when to use ArrayList and When to use LinkedList?
    • Discuss
    • 2. How do you traverse through a collection using its Iterator?
    • Discuss
    • 3. When should I use abstract classes and when should I use interfaces?
    • Discuss
    • 4. Explain Overriding Polymorphism.?
    • Discuss
    • 5. When do you use :: Operator in C++?
    • Discuss
    • 6. What is the SimpleTimeZone class?
    • Discuss
    • 7. What are Native methods in Java?
    • Discuss
    • 8. What is Auto boxing and unboxing?
    • Discuss
    • 9. How does thread synchronization occurs inside a monitor?
    • Discuss
    • 10. Why do we need wrapper classes in Java?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment