You need to sign in to do that
Don't have an account?

What is the funadmental difference between object and sobject in salesforce?
Please need this profound answer. Like is one of them supposed to work in such situations and the other is not,...
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
An Object is any type of value that can be represented. They can be Integers, Strings, Booleans, custom classes, SObjects, and more. Sobjects are specific subtype that represents database records, including standard objects like Accounts and Cases, custom objects, custom settings, and custom metadata.
An SObject represents a specific table in the database that you can discretely query. Standard SObjects have names like Account or Opportunity, whereas Custom SObjects and Custom Settings have names like MyObject__c or MySetting__c.
You can store any specific record in a generic SObject property. If you do so, you lose the ability to get/set most fields by name, but can get them generically.
Reference: https://salesforce.stackexchange.com/questions/200301/s-object-and-standard-object
https://salesforce.stackexchange.com/questions/131733/can-someone-please-explain-what-is-meant-by-sobject
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you