Q19. What is the difference between a lookup relationship and a master-detail relationship in Salesforce?
a) A lookup relationship is a one-to-many relationship, while a master-detail relationship is a many-to-many relationship.
b) A lookup relationship is a many-to-many relationship, while a master-detail relationship is a one-to-many relationship.
c) A lookup relationship allows records to be created in both the parent and child objects independently, while a master-detail relationship enforces a strict hierarchy between the parent and child objects.
d) A lookup relationship allows records to be created in the child object only if there is a matching record in the parent object, while a master-detail relationship allows records to be created in both the parent and child objects independently.
Answer
c