Which of the following is NOT true about the SharedPreferences interface?
Which of the following is NOT true about the SharedPreferences interface?
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.
D. It can save any data type in key-value pairs.