Do you have to shave your head in the navy?

You have to shave your head during bootcamp but after that you are able to let it grow out to where is doesnt touch your ears but can but up to 2 inches on the top, not as bad as the marines or navy