The Cursor method________takes as an argument an SQL command to execute against the database.

a) query.
b) execute.
c) command.
d) None of the above.

b) execute.

Computer Science & Information Technology

You might also like to view...

Where do the column headings display in a crosstab query?

A) Along the right side of a crosstab query B) Along the top of a crosstab query C) Along the left side of a crosstab query D) Along the bottom of a crosstab query

Computer Science & Information Technology

If the boat has efficiency e, the amount of fuel used when traveling at a speed s for time t is . The distance traveled in that time is .

Consider a class MotorBoat that represents motorboats. A motorboat has attributes for • The capacity of the fuel tank • The amount of fuel in the tank • The maximum speed of the boat • The current speed of the boat • The efficiency of the boat’s motor • The distance traveled The class has methods to • Change the speed of the boat • Operate the boat for an amount of time at the current speed • Refuel the boat with some amount of fuel • Return the amount of fuel in the tank • Return the distance traveled so far a. Write a method heading for each method. b. Write preconditions and postconditions for each method. c. Write some Java statements that test the class. d. Implement the class.

Computer Science & Information Technology