Which of the following statements is false as far as different type of statements is concern in JDBC?

Options
- Regular Statement
- Prepared Statement
- Callable Statement
- Interim Statement


CORRECT ANSWER : Interim Statement

Discussion Board
False- Interim Statement

Interim Statement is false as there are only 3 types of Statements, as given below:

1) Statement: It is used for general-purpose access to the database. It is useful when you are using static SQL statements at runtime.

2) PreparedStatement: It can be used to have the same SQL statement many times in the same line. The PreparedStatement interface accepts input parameters at runtime.

3) CallableStatement: CallableStatement can be used when you want to access database stored procedures.

Rohit Sharma 09-21-2014 09:23 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement