⚡ForceHiresbeta
← All questions
ApexMedium

Safe navigation operator

The variable acct may be null at this point. What does this expression evaluate to when acct is null?

String ownerName = acct?.Owner?.Name;