Question Detail

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

  • java.util.HashSet
  • java.util.LinkedList
  • java.util.TreeMap
  • java.util.SortedSet
Similar Questions :

1. Why we use array as a parameter of main method

  • it is syntax
  • Can store multiple values
  • Both of above
  • None of above

2. Interfaces helps in which type of inheritance

  • Multiple inheritance
  • Multilevel inheritance
  • Hierarchical inheritance
  • None of above

3. Executable applet is

  • .applet file
  • .java html
  • .java file
  • .class file

4. Which command disassembles a class file

  • javaamd
  • javacmd
  • java
  • javap

5. Program which executes applet is known as

  • applet engine
  • virtual machine
  • JVM
  • None of above
Read more from - Java Objective Questions Answers -Chapter 1