Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook