The first is not. consider n=1.
so it is not a subspace as it is not closed under addition.
The second is. You can check. Take arbitrary polynomials of degree n or less and add them, they cannot gain degree. Closed under addition
Multiply an arbitrary polynomial of degree n or less by a scalar from F, it will still have degree n or less.