 <p>Yes, you have a <code>return</code> on the previous line. The method is done.</p> <pre><code>return monthlyPayment; // &lt;-- the method is finished. boolean isValid; // &lt;-- no, you can't do this (the method finished on the // previous line). </code></pre>