Salesforce Platform Developer I (legacy) — Question 83

A developer must provide a custom user interface when users edit a Contact. Users must be able to use the interface in Salesforce Classic and Lightning
Experience.
What should the developer do to provide the custom user interface?

Answer options

Correct answer: A

Explanation

The correct answer is A because it allows the developer to use a Visualforce page for Salesforce Classic and a Lightning component for Lightning Experience, ensuring compatibility with both environments. Options B and D incorrectly suggest using a Lightning page, which is not compatible with Salesforce Classic, and option C does not utilize Visualforce, which is necessary for Classic compatibility.