Let $M$ be a compact oriented $m$-dimensional manifold with a boundary $N \neq \emptyset$. Then $N$ is a closed oriented $m-1$-dimensional manifold.
Is it always true that the homology class $[N]_M$ has to vanish in $H_{m-1}(M, \mathbb Z)$?
Let $M$ be a compact oriented $m$-dimensional manifold with a boundary $N \neq \emptyset$. Then $N$ is a closed oriented $m-1$-dimensional manifold.
Is it always true that the homology class $[N]_M$ has to vanish in $H_{m-1}(M, \mathbb Z)$?
If $M$ is a compact oriented $m$-dimensional manifold with non-empty boundary $N$, then the image of the fundamental class of $[N]$ with respect to the natural inclusion $i(n)=n$ lives in $H_{m-1}(M)$, not in top homology of $M$ (you wrote $n$ but I assume you meant to write $m$). I think it is true that the image will always be zero, since it is a boundary. If you assume that everything is smooth and you work with real coefficients, then the image will be zero by Stokes theorem. More concretely, if you have a closed $m-1$ form $\omega$, then $\int_N \omega = \int_{\partial M} \omega = \int_M d\omega=0$, hence the image of $[N]$ is zero.