ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 236 - Certified Platform Developer II discussion

Report
Export

Universal Containers stores user preferences in a Hierarchy Custom Setting, User_prefs_c, with a Checkbox field, show_Help_c, Company-Level defaults are stored at the organizational level, but may be overridden at the user level, If a user has not overridden preferences, then the defaults should be used.

How should the Show_Help_c preference be retrieved for the current user?

A.
Boolean show = User_Prefs_c, getinstance( ), Show_Help _c;
Answers
A.
Boolean show = User_Prefs_c, getinstance( ), Show_Help _c;
B.
Boolean show = User_Prefs_c, getValues ( ). Show _Help_c;
Answers
B.
Boolean show = User_Prefs_c, getValues ( ). Show _Help_c;
C.
Boolean show = User_Prefs_c, getvaluesUserInfo.getUserid() ).Show_Help_c;
Answers
C.
Boolean show = User_Prefs_c, getvaluesUserInfo.getUserid() ).Show_Help_c;
D.
Boolean show = User prefs_c, Show_Help_c;
Answers
D.
Boolean show = User prefs_c, Show_Help_c;
Suggested answer: C
asked 23/09/2024
Pablo Hilario
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first