Similar to previous code
The code in the global main function and the code in the function named classMain is identical to code that you have seen in numerous sample programs in earlier lessons.
Therefore, I won't discuss that code here.
You can view that code in Listing 12.