Step 1: Understanding the Oxidation States.
In the compound \( \text{MnO}_4^{2-} \), the oxidation state of Mn is +6. In \( \text{MnO}_2 \), the oxidation state of Mn is +4. Therefore, the oxidation states of Mn in these two compounds are +6 and +4, respectively.
Step 2: Conclusion.
The correct answer is (D) MnO\(_4^{2-}\) and MnO\(_2\).