The doSomething function
Once again, I am going to discuss only the instance function named doSomething.
You can view the remainder of the program in Listing 10.
The doSomething function begins in Listing 3.