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
KMK91KMK91 

what is SObjects in salesforce?

Vincent SesVincent Ses
It refers to the object of a database table.
All standard or custom objects extends it , I think it's similar to the Object class in Java kits.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_SObjects.htm
for example,you can create a sObject variable like this:
sObject s = new Account();

 
Chandra Sekhar CH N VChandra Sekhar CH N V
Generic sObject means, it can be of any persisted SFDC objects type.

In SFDC,sObject is generic and standard, Custom Objects are its concrete type.

Generic sObject abstracts the actual representation of any object assigned to it. sObject is the name of the generic abstract type that can be used to represent any persisted object type.