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. In the code below, what data types the variable x can have?
  3. In a single Servlet class we can use____________
  4. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  5. Throwing an exception always causes program termination.
  6. We would like to make a member of a class visible in all subclasses regardless of what package they…
  7. Servlet has ___________
  8. An individual array element that is passed to a method and modified in that method will contain the…
  9. Which of the following are the wrapper classes?
  10. Which of the following will produce a value of 10 if x = 9.7?
  11. A catch can have comma-separated multiple arguments.
  12. Java is fully object oriented programme.
  13. Which of the following are keywords?
  14. Objects are passed to a method by use of call-by-reference.
  15. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  16. DataInput is
  17. Connection, Statement are interfaces and ResultSet is a class.
  18. Which of the following control expressions are valid for an if statement?
  19. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  20. Members of a class specified as private are accessible only to the methods of the class.
  21. Which of the following command lines options generates documentation for all classes and methods?
  22. Declarations can appear anywhere in the body of a Java method.
  23. class.forName(...) creates an instance of java ODBC driver
  24. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  25. Which are the valid ways to create DataInputStream streams?
  26. Which of the following are not keywords?
  27. putValue(...) method takes _____________________-
  28. In RMI before running the client program we must start RMI Registry.
  29. What is java -g used for?
  30. The length of a string object 's1' can be obtained using the expression s1.length.