0 votes
102 views
in android by (0 points)
closed by
How would you retrieve the value of a user's email from SharedPreferences while ensuring that the returned value is not null?

a. getPreferances(this).getString(Email,"")
b. getDefaultSharedPrefarances(this).getString(EMAIL,null)
c. getDefaultSharedPreferances(this).getString(EMAIL,"")
d. getPreferances(this).getString(EMAIL,null)
closed

1 Answer

0 votes
by (0 points)
 
Best answer
c

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...