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. Which is the predefined package

  • Lang package
  • io package
  • util package
  • All of above

2. Which method of java is invoked by JVM to reclaim the inaccessible memory location

  • reclaim() method
  • final() method
  • finalize() method
  • both b and c

3. All raw data types should be read and uploaded to the database as an array of

  • int
  • char
  • bollean
  • byte

4. x=x+1 is equivalent to

  • ++x
  • x++
  • x=x-1
  • None of these

5. javah stands for

  • java compiler
  • java interpreter
  • java dissasamebler
  • java header file
Read more from - Java Objective Questions Answers -Chapter 1