Click on the cube on the scene outliner (this tree list of the objects on the scene), then while having the mouse cursor in the 3D viewport, press the dot in the numeric keyboard, and you will jump right to the cube
No problem
i say click on the outliner first because i assume the cube may be out of view, but it works also with selecting the objects from the 3D viewport too