Which of the following is the Java library package for database connection?
A.
java.sql
B.
sql.java
C.
javasql.class
D.
sql.class
E.
jdbc.class
Explanation:
Quoted directly from Sun’s Java document site at
http//developer.java.sun.com/ A Java program, written properly and according to
specification, can run on any Java technology-enabled platform without
recompilation. The Java programming language is completely specified and, by
definition, a Java technology-enabled platform must support a known core of
libraries. One such library is the java.sql package or JDBC, which you can think of
as a portable version of ODBC, and is itself a major standard. Using the Java
programming language in conjunction with JDBC provides a truly portable solution
to writing database applications.