Multiple choice

Which of the following methods is not present in Connection interface in java database programming?

  1. abort(Executor executor)

  2. createStatement()

  3. getMetaData()

  4. getNetworkTimeout()

  5. createXMLSQL()

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

There is no method named createXMLSQL() in Connection interface. The correct method name is createSQLXML(). This method Constructs an object that implements the SQLXML interface. So, this answer is correct.