Hermaphrodites produce all their sperm in the L4 stage (150 sperm per gonadal arm) and then produce only oocytes.
The male can inseminate the hermaphrodite, which will preferentially use male sperm (both types of sperm are stored in the spermatheca).