
2 answers

I don't see anything wrong here.. still copying my code for your reference which passed the test. public class AccountHandler{
public AccountHandler(){
}
public Static Account insertNewAccount(String accountName){
try{
Account newAccount = new Account(Name = accountName);
insert newAccount;
return newAccount;
}
catch(Exception e){
return null;
}
}
}