When coding with Apex, you must write and test it in a sandbox environment and then deploy it to a production environment.
There are three tools available for developing with Apex:
- Force.com developer console
- Force.com integrated development environment
- Code editor in the Salesforce user interface
Here are some of the things you can do in the developer console:
- Write and compile code (code is automatically compiled when you save the trigger or class)
- Checking performance (test classes?)
- SOQL queries
- Colour coding and auto-complete
As per instructions I executed the following snippet of code using Open Execute Annonymous window:
String myString = 'MyString'; System.debug('Value of String Variable'+myString);
This had the effect of printing out a line on the debug log.