(TCOs 1, 5, and 6) Which of the following statements is FALSE given that your Ja
ID: 3867660 • Letter: #
Question
(TCOs 1, 5, and 6) Which of the following statements is FALSE given that your Java program is accessing a MySQL database?
A. If the database is not available, the program will have a runtime error when attempting to create a connection object.
B. A connection object is required to create SQL statements that manipulate databases.
C. If the driver for MySQL is not in the classpath, the program will have a syntax error.
D. If the driver for MySQL is not in the classpath, the program will have a runtime error indicating that the driver class cannot be loaded.
Explanation / Answer
C. If the driver for MySQL is not in the classpath, the program will have a syntax error.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.