0 votes
in Salesforce by
What are the different methods of Batch Apex Class?

1 Answer

0 votes
by
Database.Batchable interface contains three methods that must be implemented:

Start method:

global (Database.QueryLocator | Iterable<sObject>) start(Database.BatchableContext bc) {}

Execute method:

global void execute(Database.BatchableContext BC, list<P>){}

Finish method:

global void finish(Database.BatchableContext BC){}

Related questions

+1 vote
asked Feb 3, 2020 in Salesforce by SakshiSharma
0 votes
asked Feb 3, 2020 in Salesforce by SakshiSharma
...