Sex is in the RNA of the plant not the DNA so the seed has both male and female traits. The sex is not determined in the shell of the seed.