How do I make a square hole in a cube, and then save it as one mesh?
In edit mode, select the top face of your cube. 
Press I and resize the new face till it is the size you need.
Press E to extrude the hole inward.
Press Delete or X and choose Faces to delete the bottom face of your hole.