What is the storage option for primitive data in key-value pairs?
-
Internal Storage
-
Shared Preferences
-
diskStorage
-
SQLite Databases
B
Correct answer
Explanation
Android's SharedPreferences API provides a lightweight framework to save and retrieve persistent key-value pairs of primitive data types. Internal Storage and SQLite Databases are used for raw files and structured relational data, respectively, rather than simple primitive key-value pairs.