Android Application Development (AND-401) — Question 99
Which of the following is NOT true about SQLiteOpenHelper class? (Choose two)
Answer options
- A. It has two abstract methods: onCreate() and onUpgrade().
- B. It is used to perform database querying.
- C. It manages database creation and updates.
- D. It manages database versions using ContentProvider.
Correct answer: B, C
Explanation
Option B is incorrect because the SQLiteOpenHelper class does not directly perform database querying; it mainly assists with database management. Option C is also incorrect, as the class specifically manages database creation and updates, but not in the sense implied. Options A and D correctly describe the class's responsibilities.