Multiple Choice
Which of the following correctly completes the statement b elow to instantiate a Shared Preferences object?
SharedPreferences sharedPref =
A) PreferenceManager.getDefaultSharedPreferences(this) ;
B) SharedPreferences.getDefault PreferenceManager (this) ;
C) PreferenceManager. SharedPreferences .getDefault(this) ;
D) SharedPreferences . PreferenceManager .getDefault(this) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q9: SharedPreferences can be used to save only
Q10: A(n) _ stores persistent data on a
Q11: All applications can read and write files
Q12: T he Shared Preferences class provides one
Q13: What is one of the most effective
Q15: If data is lost when an app
Q16: The persistent _ structu re is available
Q17: _ stores values permanently by placing the
Q18: With Android, yo u have th e
Q19: Before an app attempts to connect to