What is the correct answer?


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.

Correct Answer :

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

Related Questions

DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend… A static class method can be invoked by simply using the name of the method… Throwing an exception always causes program termination. Given the codeString s = new String("abc");Which of the following calls… Declarations can appear anywhere in the body of a Java method. Which of the following statements are valid array declarations? putValue(...) method takes _____________________- The import statement is always the first no comment statement in a Java… The use of protected keyword to a member in a class will restrict its… A JSP file can be stored_________________ When X is a positive number the operations x>> 2 and x>>>2… Which of the following will produce a value of 22 if x=22.9: It is an error to catch the same type of exception in two different catch… If you want to assign a value of 99 to the variable year, then which of… The concept of multiple inheritance is implemented in Java by class.forName(...) creates an instance of java ODBC driver The length of a string object 's1' can be obtained using the expression… Which key word can protect a class in package from accessibility by the… Consider the following class definitions: class maths { student student1;… executeUpdate automatically updates data because___________ Members of a class specified as private are accessible only to the methods… If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value… Give file is a file object, which of the following are legal statements… The expression (x == y && a<b) is true If either x == y is true or… A variable declared inside the for loop control can not be referenced… The check box group class is a subclass of the component class. What is wrong in the following class definitions? abstract class… An EJB is a server-side component that encapsulates the business logic… In the code below, what data types the variable x can have? The programmer must explicitly create the system .in and system .out objects.