
JDBC (Java Database Connectivity)
Java Database Connectivity (JDBC) is an API (Application Programming Interface) in Java that allows developers to connect and interact with databases. It acts as a bridge between Java applications and various types of databases—like MySQL, Oracle, or SQLite—enabling them to execute SQL commands to retrieve or update data. JDBC provides standard methods for tasks such as connecting to a database, executing queries, and processing the results. This seamless interaction allows applications to manage data efficiently, making it essential for building data-driven applications in Java.