Title: Inner classes: how to call methods - Sun Certified Java Programmer 310-065 - Lesson 39
Duration: 17 minutes
Summary: This video is the second (and final) discussion of inner classes. Anonymous inner classes have no name, and their type must be either a subclass of the named type or an implementer of the named interface. An anonymous inner class can extend one subclass or implement one interface. Static nested classes are inner classes marked with the static modifier. In the questions discussed we will see how to call methods when a class with the same name declared outside a class, inside the same class, and inside a method within that class!! We will also look at the syntax used to create instances of inner classes and how to use the keyword ‘this’ now that we have a class within a class.
Methodology of the development of example: Good coding standard and simplified design to prepare for the Java programmer certification exam CX-310-065.
Technology Used: Java – Core Concepts.
Keywords: Inner classes, class, object, Method-local inner classes, Anonymous inner classes, static nested classes.












Post stats:









See the prices for this post in Mr.Bool Credits System below: