Salesforce
CRT-450 · Question #197
CRT-450 Question #197: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #197. The question stem and answer options stay visible for context.
Question
A developer created a Visualforce page and custom controller to display the account type field as shown below. Custom controller code: Visualforce page snippet: The value of the account type field is not being displayed correctly on the page. Assuming the custom controller is properly referenced on the Visualforce page, what should the developer do to correct the problem?
Exhibit
Options
- AConvert theAcccunt, type to a String.
- BChange theAccount attribute to public.
- CAdd with sharing to the custom controller.
- DAdd a getter method for the actType attribute.
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
