download Mastguru Android App

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 method executes only once

  • start() method
  • init() method
  • stop() method
  • destroy() method

2. Which method of the Applet class displays the result of applet code on screen

  • run() method
  • paint() method
  • drawString() method
  • main() method

3. What do you mean by javap

  • java compiler
  • java Interpreter
  • java Disassemble
  • java debugger

4. If method have same name as class name and method don’t have any return type then it is known as

  • Destructors
  • Object
  • Variable
  • Constructor

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

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