valid!<br /></span>&nbsp; &nbsp; &nbsp;<span class="hljs-comment">//Uncommenting the following line will generate an error<br /></span>&nbsp; &nbsp; &nbsp;<span class="hljs-comment">//taskName = new StringBuffer("Task #2");<br /></span>&nbsp;}</code></p>

            <p>If you're still not sure about a declaration being <i>effectively final</i>, try adding the <code>final</code> modifier to it. If the program continues to behave in the same way, then the declaration is <i>effectively final</i>.</p>

       