During the tour of the Developer Console, you must have found a way to create a new class. Let's do this now. We will reuse this class later on in this book:
- Log in to Salesforce (if you are logged out or if you closed your previous screens).
- Click on the gear in the top-right corner and click on Developer Console.
- A new window opens in the browser. Click on File | New.
- Now, you have a lot of choices. For this exercise, you click on Apex Class:
- A modal window will now ask you the name of your class. The best (and generally accepted) practice is to use camel case to define a class ...