Independent assortment in a two-gene cross gives four phenotype classes.
Independent assortment makes four gametes
AaBb makes 4 gamete types. Crossing AaBb with AaBb fills 16 body cells in a four-by-four Punnett square.
The dihybrid phenotype ratio has four classes
Aggregating the offspring by phenotype gives 9:3:3:1 over the classes A_B_, A_bb, aaB_, and aabb, where an underscore means either allele.