AND-401 Exam QuestionsBrowse all questions from this exam

AND-401 Exam - Question 47


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

Show Answer
Correct Answer: D

SharedPreferences only saves primitive data types such as int, long, float, boolean, String, and Set<String> in key-value pairs. It cannot save any arbitrary data type. This makes option D, which states it can save any data type in key-value pairs, incorrect.

Discussion

1 comment
Sign in to comment
MmadiOption: D
Dec 31, 2022

D. It can save any data type in key-value pairs.