+ Start a Discussion
naresh singhalnaresh singhal 

What is the purpose of using <sobject> in Database.Batchable<sobject> ?


sObject is genreic data type to hold any type of custom or standard object.

And when you want to returrn QueryLocator then we implement this.

Ashlekh Gera
naresh singhalnaresh singhal
@Ashlek: Is it playing the role of return type here? , I have more doubt on reason of placing it after the interface name , We generally dont write anything at that place.  I understand that we define collections using '< >' Why it is used in return type?