InterviewSolution
| 1. |
What Are The Different Methods Of Batch Apex Class? |
|
Answer» Database.Batchable INTERFACE CONTAINS three methods that must be IMPLEMENTED: Start method: global (Database.QueryLocator | Iterable) start(Database.BatchableContext bc) {}. Execute method: Global void execute (Database.BatchableContext BC, LIST){}. Finish method: Global void finish(Database.BatchableContext BC){}. Database.Batchable interface contains three methods that must be implemented: Start method: global (Database.QueryLocator | Iterable) start(Database.BatchableContext bc) {}. Execute method: Global void execute (Database.BatchableContext BC, list){}. Finish method: Global void finish(Database.BatchableContext BC){}. |
|