11.1k views
1 vote
Which two Apex data types can be used to reference a Saleforce record ID dynamically ?A. sObjectB. String C. ENUMD. External ID

User Myk Melez
by
3.4k points

1 Answer

3 votes

Answer:

sObject and String

Step-by-step explanation:

  • sObject is the universal object in Salesforce which contains an Object that may be Standard one or Custom one. And we can store any object in sObject we can get the Id as well. In string we store IDs
  • In External ID can be text , mail or number , it cannot be refer and in ENUMD we cannot store IDs
User Shawn Kovac
by
3.2k points