Question

Which of the following statements best describes the role of the JDBC package in Java programming?

A The JDBC package is used for creating graphical user interfaces (GUIs) in Java applications.
B The JDBC package provides a set of classes and interfaces for establishing and managing network connections between Java applications and web servers.
C The JDBC package enables Java applications to interact with relational databases by providing a standard interface for executing SQL queries and updates.
D The JDBC package is used to handle file I/O operations in Java applications, such as reading from and writing to files.
E The JDBC package is responsible for managing memory allocation and garbage collection in Java applications.
Practice Next

Hey! Ask a query