Loading practice questions
What is the SharedPreferences API in Android?
Correct Answer: B — Store simple key-value data for preferences and settings
Explanation:
SharedPreferences is a lightweight storage mechanism that stores primitive key-value pairs, perfect for storing user preferences and configuration data.