In order to connect to a database through java program we must create _______-

A. Connection, Statement, ResultSet

B. Connection, ResultSet

C. Statement< ResultSet

D. Connection, Statement

You can do it
  1. A class may be both abstract and final.
  2. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  3. JdbcOdbcDriver is an object of Object class
  4. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  5. An individual array element that is passed to a method and modified in that method will contain the…
  6. The modulus operator (%) can be used only with Integer operands.
  7. The length of a string object 's1' can be obtained using the expression s1.length.
  8. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  9. Any class may be inherited by another class in the same package.
  10. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  11. Which of the following control expressions are valid for an if statement?
  12. Every method of a final in class is implicitly final.
  13. The name of the RMI compiler is ___________
  14. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  15. Which of the following keywords are used to control access to a class member?
  16. The programmer must explicitly create the system .in and system .out objects.
  17. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  18. The default case is always required in the switch selection structure.
  19. All the bitwise operators have the same level of precedence in Java.
  20. One the features of is that an array can store many different types of values.
  21. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  22. The import statement is always the first no comment statement in a Java program files.
  23. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  24. Frames and applets cannot be used together in the same program.
  25. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  26. Which of the following are not keywords?
  27. Objects are passed to a method by use of call-by-reference.
  28. The check box group class is a subclass of the component class.
  29. What does the following line of code do?TextField text=new TextField(10);
  30. A Java monitor must either extend thread class or implement Runnable interface.