5 years ago in Java Package And Interface

Which collection class associates values witch keys, and orders the keys according to their natural order ?

[A] java.util.HashSet
[B] java.util.LinkedList
[C] java.util.TreeMap
[D] java.util.SortedSet
Loading...
Next Question

Overall Stats

Attempted 155
Correct 61
Incorrect 40
Viewed 54

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 3 days ago

Shamsa hafeez from Lahore, Pakistan is saying java.util.TreeMap is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying java.util.SortedSet is correct answer

Assaad Amine
Assaad Amine - 1 month ago

Assaad Amine from Casablanca, Morocco is saying java.util.LinkedList is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying java.util.TreeMap is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying java.util.TreeMap is correct answer

Related Questions

Which of the following is correct way of implementing an interface salary by class manager?

  • [A] class manager extends salary {}
  • [B] class manager implements salary {}
  • [C] class manager imports salary {}
  • [D] None of the mentioned.

Which of these access specifiers can be used for an interface?

  • [A] Public
  • [B] Protected
  • [C] private
  • [D] All of the mentioned

Which keyword is used while using interface ?

  • [A] extend
  • [B] implements
  • [C] throw
  • [D] throws

Which of these keywords is used to define interfaces in Java?

  • [A] interface
  • [B] Interface
  • [C] intf
  • [D] Intf