Salesforce Certified Platform Developer II — Question 16

Choose the correct definition for <apex:messages>.

Answer options

Correct answer: B

Explanation

<apex:messages> is designed to display all error messages that occur within the page, and it utilizes standard Salesforce formatting. Option A is incorrect because it does not mention error display; C is wrong as it refers to a single message, while D lacks the mention of a structured way to show errors.