function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Marketing Marketing 27Marketing Marketing 27 

How to implement multiple interfaces?

I am writing a class that schedules a batchable job and therefor it needs to implement Schedulable and Database.Batchable<Account>

How do I implement more than one interface in a single class? Is this possible, and if so, how is it done?
Sai PraveenSai Praveen (Salesforce Developers) 
Hi ,

Yes you can implement both as shown below by comma seperated.
 
global class CustomerProessingBatch implements Database.Batchable<sobject7>,
Schedulable

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,