The Navy cadets all threw their hats in the air at their graduation ceremony.