Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook