midshipman

noun

1.
a male temporary rank held by young naval officers in training