Which of the following correctly completes the statement below to instantiate a SharedPreferences object?

Which of the following correctly completes the statement below to instantiate a SharedPreferences object?



Answer:

SharedPreferences sharedPref =
PreferenceManager.getDefaultSharedPreferences(this);


Learn More :

Android Apps Chapter 11

Learn More Multiple Choice Question :