download Mastguru Android App

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 class cannot be subclassed (or extended) in java?

  • abstract class
  • parent class
  • Final class
  • None of above

2. Which metrhods are utilized to control the access to an object in multi threaded programming

  • Asynchronized methods
  • Synchronized methods
  • Serialized methods
  • None of above

3. The class java.sql.Timestamp is associated with

  • java.util.Time
  • java.sql.Time
  • java.util.Date
  • None of above

4. Which of the following below are valid isolation levels in J2EE

  • TRANSACTION_READ_UNCOMMITTED
  • TRANSACTION_SERIALIZABLE
  • Only A
  • Both A and B

5. Java beans have no types

  • True
  • False
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment