Exam4Training

What value can we transfer in a “mode”parameter?

With our Context we can get SharedPreferences with a method, named: getSharedPreferences (String name, int mode).

What value can we transfer in a “mode”parameter?
A . MODE_PRIVATE or MODE_PUBLIC
B . combination of MODE_WORLD_READABLE and MODE_WORLD_WRITEABLE
C . Value is either 0 or a combination of MODE_PRIVATE, MODE_WORLD_READABLE,
D . MODE_WORLD_WRITEABLE, and MODE_MULTI_PROCESS

Answer: C

Exit mobile version