Will begin with the doSomething function
The global main function and the function named classMain are identical to functions having the same names that I have discussed in numerous sample programs in previous lessons, so I won't discuss them again here.
You can view those functions in Listing 11.
I will begin the discussion with the instance function named doSomething shown in its entirety in Listing 5.