Quiz
- Select all the correct statements:
- JDBC stands for Java Database Communication.
- The JDBC API includes the
java.db
package. - The JDBC API comes with Java installation.
- The JDBC API includes the drivers for all major DBMSs.
- Select all the correct statements:
- A database table can be created using the
CREATE
statement. - A database table can be changed using the
UPDATE
statement. - A database table can be removed using the
DELETE
statement. - Each database column can have an index.
- A database table can be created using the
- Select all the correct statements:
- To connect to a database, you can use the
Connect
class. - Every database connection must be closed.
- The same database connection may be used for many operations.
- Database connections can be pooled.
- To connect to a database, you can use the
- Select all the correct statements:
- A database connection can be closed automatically using the
try-with-resources
construct. - A database connection can be closed using the
finally
block construct. - A database connection can be closed using the
catch
block. - A database connection can be...
- A database connection can be closed automatically using the