Question Detail

Which method is used to perform DML statements in

JDBC

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

1. Why we use array as a parameter of main method

  • it is syntax
  • Can store multiple values
  • Both of above
  • None of above

2. Constructor has return type

  • True
  • False

3. Which keyword represents object of the present class

  • interface
  • package
  • this
  • static

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

  • True
  • False

5. Interfaces helps in which type of inheritance

  • Multiple inheritance
  • Multilevel inheritance
  • Hierarchical inheritance
  • None of above
Read more from - Java Objective Questions Answers -Chapter 1