$\sqrt 2 \times \sqrt 8 = \sqrt {16} = 4$is an integer and all the integers are rational numbers.
So, $\sqrt 2 \times \sqrt 8$ is a rational number as well as an integer.
Multiplying the two irrational numbers gives sqrt(2) x sqrt(8) = sqrt(16) = 4. Even though each factor individually is irrational, their product simplifies to 4, which is both a rational number and an integer, so both descriptions apply at once.