Duration: 16:05 minutes
Summary: In this video we start our discussion of inner classes. An inner class is a class declared within a class. Since it is declared within the enclosing class, it has access to the enclosing class’s members (including the private ones). A method-local inner class is a class that is defined within a method of the enclosing class. In our discussion we will tackle some questions that help us understand how inner classes work, and the correct syntax to use to declare inner classes. Most of the exam questions will revolve around the syntax used to declare and call methods of inner, anonymous, and method-local classes.