Salesforce Interview Questions and Answers
Question: What is the purpose of the 'Database.Stateful' interface in Apex?Answer: The 'Database.Stateful' interface in Apex is used to maintain the state of variables between different invocations of a batch Apex job. It allows variables to retain their values throughout the execution of the batch. |
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: