Solved

SharedPreferences

Question 61

Multiple Choice

SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object. To mark in the editor that a preference value should be removed, which will be done in the actual preferences once commit() or apply() is called, what method in should we use?


A) delete(String key)
B) clear()
C) remove(String key)
D) removeAll()

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions