How should the code be altered to help debug the issue?

Posted by: Pdfprep Category: PDI Tags: , ,

A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = ‘A’); Database.insert(a, false);

How should the code be altered to help debug the issue?
A . Add a System.debug() statement before the insert method
B . Add a try/catch around the insert method
C . Set the second insert method parameter to TRUE
D . Collect the insert method return value a Saveresult record

Answer: B