ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 121 - Certified Platform Developer II discussion

Report
Export

Employee_c is a Child object of Company_c. The Company_c object has an external Id field Company_ld_c.

How can a developer insert an Employee_c record linked to Company_c with a Company_ld_c of '999'?

A.
Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_r = f999f insert emp;
Answers
A.
Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_r = f999f insert emp;
B.
Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_c = f999f insert emp;
Answers
B.
Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_c = f999f insert emp;
C.
Employee_c emp = new Employee_c(Name=fDeveloperT); emp. Company_c = new Company_c(Company_Id_c=f 999 T) insert emp;
Answers
C.
Employee_c emp = new Employee_c(Name=fDeveloperT); emp. Company_c = new Company_c(Company_Id_c=f 999 T) insert emp;
D.
Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_r = new Company _ r(Company Id c=f999f) insert emp;
Answers
D.
Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_r = new Company _ r(Company Id c=f999f) insert emp;
Suggested answer: D
asked 23/09/2024
Harieswaran Ramesh
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first