Question Detail

The class java.sql.Timestamp is associated with

  • java.util.Time
  • java.sql.Time
  • java.util.Date
  • None of above
Similar Questions :

1. Super is the predefined

  • Keyword
  • Method
  • Keyword and Method
  • 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. Which of the following statements about arrays is syntactically wrong

  • arrayName[] p = new arrayName[5];
  • arrayName p[5];
  • arrayName[] p [];
  • arrayName p[][] = new arrayName[2][];

4. If nested try is possible

  • Yes
  • No

5. 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
Read more from - Java Objective Questions Answers -Chapter 1