Multiple choice

A connection object is initialized using the ___________ method.

  1. getConnection()

  2. createStatement()

  3. executeQuery()

  4. getQuery()

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

The connection object is initialized using the getConnection() method.