Challenges

Create a Basic Account

sObjects are the foundation of Salesforce data. They represent database records like Accounts, Contacts, and Opportunities. Complete the method createAccount that accepts a String parameter accountName and returns a new Account sObject with its Name field set to the provided value. Use the syntax: new Account(Name = accountName) to create and initialize the Account.

Editor
Test Results

Result Panel

Hit the run button to test your code!