Creating the object

The first statement in the function named classMain reads as follows:

Hello2* ptrToObject = new Hello2();

In layman's terms, this is what that statement means:

And that's all there is to the first statement.