Safe Navigation Operator in Salesforce Apex
? in Salesforce Apex used for Safe Navigation Operator. The safe navigation operator (?.) can be used for checking null references. Sample Code: “Attempt to de-reference a null object” Exception will be thrown for the above code since objAcc is null. So, the safe navigation operator (?.) can be used in this case to avoid … Continue reading Safe Navigation Operator in Salesforce Apex
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed