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 :