Home

executeUpdate(------------) returns ___________

A. Nothing

B. Returns a ResultSet object

C. Returns an integer value to show the no. of updated rows

D. None of the above.

You can do it
  1. Which of the following are the wrapper classes?
  2. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  3. Which exception is thrown by the read() method of InputStream class?
  4. A package is a collection of
  5. forName() is a static factory method
  6. Two methods cannot have the same name in Java.
  7. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  8. A catch can have comma-separated multiple arguments.
  9. The default case is always required in the switch selection structure.
  10. When present, package must be the first no comment statement in the file.
  11. Consider the following class definitions: class maths { student student1; } class student { String name;…
  12. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  13. A static class method can be invoked by simply using the name of the method alone.
  14. Which of the following will produce a value of 10 if x = 9.7?
  15. All methods in an abstract class must be declared abstract.
  16. To delete a file, we can use an instance of class file.
  17. A class may be both abstract and final.
  18. When we implement an interface method, it should be declared as public.
  19. Every method of a final in class is implicitly final.
  20. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  21. Throwing an exception always causes program termination.
  22. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  23. Which of the following methods can be used to remove a component from the display?
  24. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  25. The programmer must explicitly create the system .in and system .out objects.
  26. Which of the following classes are available in the java.lang package?
  27. When we invoke repaint () for a Component, the AWT invokes the method:
  28. JdbcOdbcDriver is an object of Object class
  29. Any method in a supper class can be over ridden in its subclass.
  30. With javadoc, which of the following denotes a javadoc comment?