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. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  2. The length of a string object 's1' can be obtained using the expression s1.length.
  3. Which of the following will produce a value of 10 if x = 9.7?
  4. The programmer must explicitly create the system .in and system .out objects.
  5. The keywords reserved but not used in the initial version of Java re:
  6. Which of the following control expressions are valid for an if statement?
  7. The name of a Java program file must match the name of the class with the extension Java.
  8. It is perfectly legal to assign a subclass object to a supper class reference.
  9. Which of the following represent legal flow control statements?
  10. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  11. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  12. class.forName(...) creates an instance of java ODBC driver
  13. A method declared as static can not access non-static class members.
  14. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  15. Which of the following are not keywords?
  16. Which of the following methods belong to the String class?
  17. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  18. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  19. In RMI before running the client program we must start RMI Registry.
  20. Which are the valid ways to create DataInputStream streams?
  21. Which of the following statements are true?
  22. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  23. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  24. We would like to make a member of a class visible in all subclasses regardless of what package they…
  25. It is an error to have a method with the same signature in both the super class and its subclass.
  26. In order to connect to a database through java program we must create _______-
  27. executeUpdate(------------) returns ___________
  28. Which of the following methods can be used to remove a component from the display?
  29. Declaring a method synchronized guarantees that the deadlock cannot occur.
  30. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.