If the balls are indistinguishable, then there are $1$ ways, because you could take $2$ white balls and $4$ black balls.
If the balls are distinguishable, then you would have $\binom{5}{2}$ ways to choose $2$ white balls and $\binom{7}{4}$ ways to choose the $4$ black balls, leading to $350$ ways total.