Pea plants naturally self fertilize-fertilize. SoSo a pea plant that hasn't been manipulated will be "true breeding" that is, homozygous for the allele in question. You can alsotherefore tell after you've let them self-fertilize. The homozygous ones
Homozygous individuals have all theidentical offspring lookfor the sametrait when selfed, thewhereas selfing heterozygotes have a quarter of their offspring looklooking different for the trait.
In other words, you can't tell in the present generation who is heterozygous without molecular methods unavailable to Mendel. But if you are willing to self the individuals, save seeds, plant them, and track where they came from, you can figure out who was heterozygous/homozygous in the last generation.