Salesforce Interview Questions and Answers
Question: What is the purpose of the 'System.debug()' statement in Apex?Answer: The 'System.debug()' statement in Apex is used for logging and debugging purposes. It allows developers to output variable values, expressions, and messages to the debug log, helping in the analysis of code execution. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: