Question Detail

Which statement is static and synchronized in JDBC API

  • executeQuery()
  • executeUpdate()
  • getConnection()
  • prepareCall()
Similar Questions :

1. Which class cannot be subclassed (or extended) in java?

  • abstract class
  • parent class
  • Final class
  • None of above

2. The inner class can access private members of the outer class

  • False
  • True

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. All collection classes are available in

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

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