In the JDBC API, which method is both static and synchronized?

Choose the correct answer

Explanation

Among the listed methods, getConnection() is the only one that is declared as static and synchronized in the JDBC API. The other methods operate on instances and are not static.

In the JDBC API, which method is both static and syn… — Java concepts and its programming | PakQuizHub