Procedure for writing the code
To write this code:
The names of many of the methods in the details panel are the same as the methods that you called interactively in the earlier lesson.
When you interactively called a method in the earlier lesson
The process is very similar when writing program code.