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
Vincent SesVincent Ses 

Which is the correct answer?

When i take the DEV401 exam ,there is a question below:
 [43] If a parent object has a lookup relationship defined with a child object. What happens in the
 child object when you delete a record from the parent? Choose the Right answer
 A. The child record is deleted
 B. Nothing
 C. The parent record cannot be deleted
 D. The child record cannot be deleted
I was confused by the answer.
In my opinion ,both B and C are not incorrect.
So,which answer  should I choose?
Taiki YoshikawaTaiki Yoshikawa
Hi, Is Lookup Relationship Fields?

User-added image

answer is "D". child record cannot be deleted.

- Parent Record -
User-added image

- child record -
User-added image

Prarent Record is Delete!
User-added image

Child Record not Delete! Lookup Field Value Clear.
User-added image