Home

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. The import statement is always the first no comment statement in a Java program files.
  2. Servlet can have ___________
  3. A static class method can be invoked by simply using the name of the method alone.
  4. The programmer must explicitly create the system .in and system .out objects.
  5. Java is fully object oriented programme.
  6. JdbcOdbcDriver is an object of Object class
  7. Which of the following methods belong to the String class?
  8. Declarations can appear anywhere in the body of a Java method.
  9. With javadoc, which of the following denotes a javadoc comment?
  10. executeUpdate(------------) returns ___________
  11. When present, package must be the first no comment statement in the file.
  12. It is an error to have a method with the same signature in both the super class and its subclass.
  13. Which of the following classes are available in the java.lang package?
  14. Throwing an exception always causes program termination.
  15. A package is a collection of
  16. Which of the following methods can be used to change the size of a size() *resize()
  17. The setBackground() method is part of the class
  18. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  19. In order to connect to a database through java program we must create _______-
  20. Frames and applets cannot be used together in the same program.
  21. DataInput is
  22. Servlet has ___________
  23. Which are the valid ways to create DataInputStream streams?
  24. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  25. An EJB is a server-side component that encapsulates the business logic of an application
  26. One the features of is that an array can store many different types of values.
  27. Which exception is thrown by the read() method of InputStream class?
  28. A catch can have comma-separated multiple arguments.
  29. Which of the following are the wrapper classes?
  30. Which of the following string can be used as mode string for creating a RandomAccessFile object?