Lets understand how to execute, monitor and abort a batch
How to execute a Batch
Syntax:
<Class name> <object name> = new <class name> ();
Database.executebatch(object name, size of batch);
Xplore SFDC is a blog containing information regarding the salesforce and apex code scenarios. You will find resourceful content which will help you in day to day coding journey
How to execute a Batch
Syntax:
<Class name> <object name> = new <class name> ();
Database.executebatch(object name, size of batch);