Skip to main contentSkip to footer

Describe the relationship between sObjects and Salesforce records?

Rupak Nepali
Share:
Describe the relationship between sObjects and Salesforce records?

Describe the relationship between sObjects and Salesforce records.
A. The name of a sObject field in Apex is the label of the field in Salesforce.
B. A custom object’s API name and label are the same.
C. Every record in Salesforce is natively represented as a sObject in Apex.

Answer: C

You can obtain an instance of a sObject, such as Account, in one of the following ways:
A. By creating the sObject only.
B. Either by creating the sObject or by retrieving a persistent record from Salesforce using SOQL.
C. By retrieving the sObject only.  

Answer: C  

Which of the following is correct about a generic sObject variable?
A. A generic sObject variable can be assigned only to another generic sObject.
B. Generic sObjects can’t be created.
C. A generic sObject variable can be assigned to any specific sObject, standard or custom. Such as Account or Book__c.  

Answer: C

trailhead solution apex database sobjects

Comments

Join the conversation and share your thoughts

Leave a Comment

Your comment will be reviewed before publishing.

Be the first to comment on this post!

Innovation

Let's Make Something Amazing Together

We always provide our best creative ideas at the highest level. Tell us about your project and we will make it work.

InnovateBringing innovative solutions to complex problems
AutomateStreamlining processes through automation
DominateLeading the market with exceptional results
Build Smarter and Launch FasterEfficient development for rapid deployment