Multiple choice technology embedded technologies

What is the storage option for primitive data in key-value pairs?

  1. Internal Storage

  2. Shared Preferences

  3. diskStorage

  4. SQLite Databases

Reveal answer Fill a bubble to check yourself
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.