Salesforce Interview Questions and Answers
Question: Explain the difference between a trigger and a batch class in Salesforce.Answer: A trigger is an Apex code that runs in response to a database event, while a batch class is used for processing large sets of records asynchronously. Triggers are designed for real-time events, while batch classes are used for bulk processing. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: