Create an Apex Class
Next, let’s create an Apex class to debug. This class removes cold
accounts from a list so that you can focus on more promising clients.
-
Create an Apex class called AccountViewerController.
-
Replace your class’s default contents with this code.
-
Save AccountViewerController.cls.