Question Detail

Which method is used to perform DML statements in

JDBC

  • execute()
  • executeUpdate()
  • executeQuery()
  • None of above
Similar Questions :

1. Thread class is available in

  • java.io package
  • java.lang package
  • java.awt package
  • java.util package

2. Which driver is efficient and always preferable for using JDBC applications

  • Type-4 driver
  • Type-3 driver
  • Type-2 driver
  • Type-1 driver

3. Which method of java is invoked by JVM to reclaim the inaccessible memory location

  • reclaim() method
  • final() method
  • finalize() method
  • both b and c

4. The Externizable interface extends the serializable interface

  • True
  • False

5. Which keyword represents object of the present class

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