Executing Apex code in the developer console
Login to Salesforce and switch to classic and click Developer Console
Click to debug -> and click “Open Execute Anonymous Window” or Ctrl/E
Write code in the window and execute as following
After executing the code log Read more…