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. 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][];

2. Can we access private class outside the package

  • Yes
  • No

3. In Runnable, many threads share the same object instance

  • True
  • False

4. Which keyword is used while using interface

  • extend
  • implements
  • throw
  • throws

5. Runnable is

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