Concept:
Big-Oh notation describes the asymptotic growth rate of a function.
For a polynomial function,
\[
f(n)=a_{m}n^{m}+a_{m-1}n^{m-1}+\cdots+a_{1}n+a_{0},
\]
the highest degree term dominates the growth when \(n\) becomes very large.
Therefore, lower-order terms and constant coefficients become insignificant in asymptotic analysis.
Step 1: Identify the highest power of \(n\).
The given polynomial is
\[
f(n)=a_{m}n^{m}+a_{m-1}n^{m-1}+\cdots+a_{1}n+a_{0}.
\]
The highest degree term is
\[
a_{m}n^{m}.
\]
Step 2: Apply Big-Oh principle.
As
\[
n \rightarrow \infty,
\]
the term
\[
n^{m}
\]
grows much faster than
\[
n^{m-1}, n^{m-2}, \ldots , n, 1.
\]
Hence the dominant term is
\[
a_m n^m.
\]
Step 3: Determine the complexity.
Ignoring constants and lower-order terms,
\[
f(n)=O(n^m).
\]
Step 4: Write the final answer.
Therefore,
\[
\boxed{O(n^m)}
\]
Hence option (D) is correct.