The knees and hips are similar to the arms shoulders which represents hinge joint ball socket joint?
Hinge joint.
The knees and hips are both hinge joints, which means that they allow for movement in one plane only. The arms and shoulders are ball-and-socket joints, which means that they allow for movement in all planes.