Invoking the classMain function

The classMain function is static.

The global main function uses the scope resolution operator (::) to invoke the classMain function without instantiating an object of the class.  In this sense, it emulates the runtime systems in C# and Java.

In layman's terminology

The two statements in the classMain function look pretty ugly.  However, the interpretation of those two statements is completely straightforward.