You need to sign in to do that
Don't have an account?
How to write batch class and schedule class in the same class?
Can we write a batch class and schedule class in the same class. is it possible ?
You need to sign in to do that
Don't have an account?
We can write both batch and schedule in one class as both are interface we can implement more then one interface in one class which is basically known as multiple inheritance .
You can try like below !! Let me know if it helps!!!
Thanks
Manoj