☑Kizspy.me
(Choose 1 answer)
☐ A
Back
Next
FUO.sh
sh the exam.
How do you implement the update() method in a Content Provider?
A. @Override public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { return
mDB.update(values, selection, selectionArgs);}
B. @Override public void update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { return
mDB.update(values, selection, selectionArgs);}
C. @Override public boolean update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
return mDB.update(values, selection, selectionArgs);}
D. @Override public long update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
return mDB.update(values, selection, selectionArgs);}