ing class and local variables of a method.<br /></li>

                <li>The only methods you can call on an anonymous class are those defined in the reference type (the superclass or the interface), even though anonymous classes can define their own methods.<br /></li>
            </ul>

            <div style="page-break-after:always;"></div>

            <h2>Self Test</h2>

            <p>1. Given:</p>

            <p><code class="hljs"><span class="hljs-keyword">public</span> <span class="hljs-keyword