For Shared Preferences methods, what does the method return to the application if the preference is undefined?

For Shared Preferences methods, what does the method return to the application if the preference is undefined?


a. "undefined" string
b. error code
c. default value
d. -1


Answer: c. default value


Learn More :