I'm wondering if there's anything that can be said about the cup product when computing the cohomology ring of a product space? An example would be $S^2\times S^4$, where the generator of $H_2(S^2\times S^4)$ is essentially contributed by $H_2(S^2)$ from the Kunneth formula and then from the universal coefficient theorem.
My guess would therefore be that if $\alpha$ is the generator of $H^2(S^2\times S^4)$, then $\alpha^2=0$, since the generator of $H^2(S^2)$ squares to zero. Could anyone elaborate on if anything useful can follows from this line of thinking. if not, then how would one try to approach the computation of the cup product of a product space assuming one knows how the cup product behaves for each factor in the product?