What are the different methods of batch Apex class?

Answer

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

  1. Start method:
    global (Database.QueryLocator | Iterable<sObject>) start(Database.BatchableContext bc) {}
  2. Execute method:
    global void execute(Database.BatchableContext BC, list<P>){}
  3. Finish method:
    global void finish(Database.BatchableContext BC){}

All salesforce Questions

Ask your interview questions on salesforce

Write Your comment or Questions if you want the answers on salesforce from salesforce Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---