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 statement is static and synchronized in JDBC API

  • executeQuery()
  • executeUpdate()
  • getConnection()
  • prepareCall()

2. Methods that have same name, but different Parameter list and different definition known as

  • Overriding
  • Constructor
  • Overloading
  • none of these

3. How many keywords are available in java

  • 35
  • 55
  • 48
  • 130

4. JAR file contains the compressed version of

  • .java file
  • .class file
  • .jsp file
  • None of above

5. Which keyword represents object of the present class

  • interface
  • package
  • this
  • static
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment