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. There is no default transaction attribute for an EJB

  • False
  • True

2. Thread class is available in

  • java.io package
  • java.lang package
  • java.awt package
  • java.util package

3. Which is the predefined package

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

4. Which method is used to perform DML statements in

JDBC

  • execute()
  • executeUpdate()
  • executeQuery()
  • None of above

5. Runnable is

  • Class
  • Method
  • Variable
  • Interface
Read more from - Java Objective Questions Answers -Chapter 1