Multiple choice technology platforms and products

Following is/are the abstract method(s) declared in the ContentProvider class?

  1. Query()

  2. Update()

  3. Create()

  4. Insert()

  5. a, b and c above

  6. a, b and d above

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

The ContentProvider abstract class requires implementing: onCreate(), query(), insert(), update(), delete(), and getType(). The statement's options are slightly mixed - 'Create()' is not the exact method name (it's onCreate()), but the key CRUD methods (query, update, insert) are correct abstract methods. Option F correctly identifies query(), update(), and insert() as abstract methods.