If the polynomial has more than one variable, then we add the exponents for each monomial term and look for the largest sum to get the degree.
In the case of w^3x^4 +3+3x^2 u^3 w-2u^6, we have these terms:
w^3x^4
3
3x^2u^3w
-2u^6
The first term has the exponents sum to 3+4 = 7
The second term has the exponents sum to zero. Think of 3 as 3x^0
The third term has its exponents add to 2+3+1 = 6
The fourth term has an exponent sum of 6
We see that the first monomial has the largest exponent sum.
Therefore the degree of w^3x^4+3+3x^2u^3w-2u^6 is 7.