Quiz
- Select all the correct statements:
- JDBC stands for Java Database Communication.
- The JDBC API includes the
java.dbpackage. - 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
CREATEstatement. - A database table can be changed using the
UPDATEstatement. - A database table can be removed using the
DELETEstatement. - 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
Connectclass. - 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-resourcesconstruct. - A database connection can be closed using the
finallyblock construct. - A database connection can be closed using the
catchblock. - A database connection can be...
- A database connection can be closed automatically using the