Exam AND-401 All QuestionsBrowse all questions from this exam
Question 88

Which of these is the incorrect method for an Application to save local data?

    Correct Answer: D

    Save in the hash table file using the Dictionary class is incorrect because the Dictionary class does not provide any built-in methods for persistent storage of key-value pairs. The other options are valid methods for saving local data in an Android application: using PreferencesActivity to save preferences in an XML file, saving files directly in the local file system, and using SQLite for database storage.

Discussion
MmadiOption: D

D. Save in the hash table file using the Dictionary class.