Examveda

Which of the following is a valid way to handle exceptions in JDBC?

A. Using JavaBeans to handle exceptions

B. Using `throws` statements in SQL queries

C. Using try-catch blocks to catch `SQLException`

D. Using `break` statements in SQL queries

Answer: Option C


This Question Belongs to Java Program >> Java Beans And JDBC

Join The Discussion

Related Questions on Java Beans and JDBC