Which of the following statements correctly explains the fact that all seven of the pea plant traits studied by Mendel obeyed the principle of independent assortment?

A) All of the genes controlling the traits behaved as if they were on different chromosomes.
B) All of the genes controlling the traits were located on the same chromosome.
C) None of the traits obeyed the law of segregation.
D) The diploid number of chromosomes in the pea plants was seven.