Salesforce Certified Platform Developer II — Question 108

Choose the correct definition for <apex:pageMessage>.

Answer options

Correct answer: A

Explanation

The correct answer is A because <apex:pageMessage> is designed to display specific messages using standard Salesforce formatting. Option B is incorrect as it describes the function of adding messages, which does not define <apex:pageMessage>. Option C misrepresents the formatting aspect, and option D does not accurately convey the purpose and formatting of <apex:pageMessage>.