Android Application Development (AND-401) — Question 47

Which of the following is NOT true about the SharedPreferences interface?

Answer options

Correct answer: D

Explanation

The correct answer is D because SharedPreferences can only store primitive data types, such as strings, integers, and booleans, not complex data types. Options A, B, and C are accurate statements about the functionality and limitations of the SharedPreferences interface.