Multiple choice

execSQL() method of SQLiteDatabase is used to

  1. execute query

  2. update data

  3. insert data

  4. Both (2) and (3)

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

execSQL() in SQLiteDatabase is a general-purpose method for executing single SQL statements that don't return rows - primarily for queries (SELECT). For insert/update operations, Android provides dedicated methods like insert(), update(), delete() which are safer and more convenient.