Variable or field declared as void

I guess this might clear up a bit once you name the namespace and the class slightly different.
I’d understand inside 'PushingBox' as inside the namespace, while PushingBox::sendPush() denotes sendPush() as part of the class PushingBox.

But I might be wrong :wink:

See


1 Like