Multiple choice java

How many JDBC driver types does Sun define?

  1. One

  2. Two

  3. Three

  4. Four

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Sun defines four JDBC driver types: Type 1 (JDBC-ODBC bridge), Type 2 (native API/partly Java), Type 3 (pure Java/net protocol), and Type 4 (pure Java/direct connectivity). This categorization has been part of JDBC specification since early versions.