5 years ago in Introduction To Java

Which collection class allows you to access its elements by associating a key with an element's value, and provides synchronization?

[A] java.util.SortedMap
[B] java.util.Hashtable
[C] java.util.TreeMap
[D] None
Loading...
Next Question

Overall Stats

Attempted 265
Correct 52
Incorrect 111
Viewed 102

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 4 days ago

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

akshay kharat
akshay kharat - 1 week ago

akshay kharat from Pune, India is saying java.util.Hashtable is correct answer

Tsega Asresa Mengistu
Tsega Asresa Mengistu - 1 week ago

Tsega Asresa Mengistu from Dessie, Ethiopia is saying java.util.SortedMap is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

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

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying java.util.Hashtable is correct answer

Related Questions

The expected signature of the main method is public static void main(). What happens if we make a mistake and forget to put the static keyword ?

  • [A] The JVM issues an error saying that main method should be declared static
  • [B] The compiler issues a warning saying that main method should be declared static and adds it automati
  • [C] The JVM successfully invokes the main method
  • [D] The JVM fails at runtime with NoSuchMethodError

forName() is a static method of

  • [A] java.lang.class
  • [B] java.util
  • [C] java.object
  • [D] java.connection

Which among the following is the compulsory section of java program ?

  • [A] package Statement
  • [B] import Statement
  • [C] Documentation section
  • [D] Class declaration section

What is HotJava ?



  • [A] system software
  • [B] web browser
  • [C] java environment
  • [D] IDE