Objects and Collections

    0
    345

    1. Which class does not override the equals() and hashCode() methods, inheriting them directly from class Object?

    Correct! Wrong!

    2. Which collection class allows you to grow or shrink its size and provides indexed access to its elements, but whose methods are not synchronized?

    Correct! Wrong!

    3. Which interface does java.util.Hashtable implement?

    Correct! Wrong!

    4. Which interface provides the capability to store objects using a key-value pair?

    Correct! Wrong!

    5. Which is valid declaration of a float?

    Correct! Wrong!

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here